Following along in the examples on rest_api.md, it seems that there is an error message being thrown when sending JSON data to the API via curl. Running the following command:
This may be an issue with the script sending the command not including the complete path to curl in the string that it sends. I have to do that in PHP...
Following along in the examples on
rest_api.md
, it seems that there is an error message being thrown when sending JSON data to the API via curl. Running the following command:gives the following output:
The same query works as intended when inlined into the URL:
And it also works as intended in this node script: