switchvox api:我可以进行什么简单的 REST 调用,XML 或 json,以验证服务器正在接受 API 调用?

switchvox api: what is a simple REST call I can make, XML or json, to validate the server is accepting API calls?

我可以使用 fiddler 或 curl 进行什么基本 REST 调用,以与 switchvox api 进行简单交互,只是为了查看它是否正在处理 api 调用?

这是一个 curl 示例(引用用于 windows 上的 curl),可用于执行此操作(将其全部放在一行中):

curl -k -H "Content-Type: application/json" --data "{\"request\": {\"method\": 
\"switchvox.call\",
\"parameters\": {\"dial_first\": \"1927\",\"dial_second\": \"12226660000\",
\"dial_as_account_id\": \"1127\"}}}" 
--verbose --basic --user api_admin:####### https://myserver/json