I am able to fetch data into postman using the GET API but any constraint I apply doesn’t seem to work. I always get the entire dataset irrespective of the constraints I apply.
Does anyone know what the issue is?
I am able to fetch data into postman using the GET API but any constraint I apply doesn’t seem to work. I always get the entire dataset irrespective of the constraints I apply.
Does anyone know what the issue is?
Just shared some code solutions here: Search Constraints On Get Requests
For your test just put the whole url in the get formatted like below, and remove the body:
https://socialmocha.bubbleapps.io/version-test/api/1.1/obj/accounts?constraints=[{"key":"shopurl","constraint_type":"equals","value":"sm-test2-1001.myshopify.com"}]
This worked fine. Thank you so much
You’re welcome