Awesome, thanks! That works Daniel, thank you so much, problem solved. <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon> Virus-free. www.avast.com <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Thu, Aug 20, 2020 at 4:32 AM Daniel Stenberg <dan...@haxx.se> wrote: > On Wed, 19 Aug 2020, rafa via curl-library wrote: > > > curl -X GET \ > > -H "X-Parse-Application-Id: 12345_Example" \ > > -H "X-Parse-REST-API-Key: abcde_Example" \ > > -G \ > > --data-urlencode "where={ \"pin\":\"A string\" }" \ > > https://urlExample/classes/Pins > > You don't want/need "-X GET" in there. -G already makes it do a GET. > > > as you can see the where URL parameter constraining the value for keys > > should be encoded JSON. > > You should just add the encoded JSON to end of the URL, separated with a > question mark ('?'). Something like this: > > "https://urlExample/classes/Pins?where={%20.. > <https://urlExample/classes/Pins?where=%7B%20..>." > > -- > > / daniel.haxx.se | Commercial curl support up to 24x7 is available! > | Private help, bug fixes, support, ports, new features > | https://www.wolfssl.com/contact/ >
------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.html