I have setup a developer account and created a access token as described in the docs using "custom application" and providing key, id and secret in the console.
Requests made via the console such as get_survey_list
work fine.
However if I try any other http client like curl I get this:
{"status":3,"errmsg":"Expected object or value"}
The curl code is:
curl -H 'Authorization:bearer xxx' -H 'Content-Type: application/json' https://api.surveymonkey.net/v2/surveys/get_survey_list/?api_key=xxx --data-binary ''
I have tried other methods (httpclient, poster, in my appliction) I always get this result. My request looks absolutely identical to the request data that is shown in the console output.
The only request that works is user/get_user_details
.
Can anybody help? Thanks Gordon