我正在尝试使用 SurveyMonkey API。XXXYYYZZZ 是我的钥匙通常所在的位置。如何使用 API 控制台以及使用它可以获得什么样的输出?
请求 URI:
https://api.surveymonkey.net/v2/surveys/get_survey_list?api_key=xxxxyyyyzzzz
请求标头:
{
"X-Originating-Ip": "127.0.0.0",
"Content-Type": "application/json"
}
请求正文:
{
"title":"",
"page":1,
"page_size":1000,
"start_date":"1970-01-01 00:00:00",
"end_date":"2038-01-01","order_asc":true,
"fields":
["title","analysis_url","date_created","date_modified"]
}
响应标头:
{
"Content-Type": "text/xml",
"Date": "Fri, 27 Sep 2013 22:56:32 GMT",
"Server": "Mashery Proxy",
"X-Mashery-Error-Code": "ERR_403_DEVELOPER_INACTIVE",
"X-Mashery-Message-Id": "585a5090-0d11-47f8-a638-3a20c2d6140c",
"X-Mashery-Responder": "prod-j-worker-us-west-1c-17.mashery.com",
"Content-Length": "27",
"Connection": "keep-alive"
}
回复正文:
<h1>Developer Inactive</h1>