Help with HTTP post request - JSON encoding


#1

Trying to call a post with a JSON string, and having no luck.

Set to:

POST
Body Type: CUSTOM
Body: arg = {“entry”:1000}
Set to plain text

Problem is that it complains about those double quotes. I have tried:
arg = {‘entry’:1000}
arg = {entry:1000}
arg = {“entry”:1000}
arg = {\“entry\”:1000}

Any ideas?

Quick Edit: The following works from a windows command line…

https://URL” -d arg="{“entry”:5000}"