Responses
The response received from your server must either be plain text, containg only the shortened URL, or JSON. The following JSON formats are supported by Short Menu:
{ "shorturl" : "SHORT_URL_HERE" }
{ "shortURL" : "SHORT_URL_HERE" }
{ "short" : "SHORT_URL_HERE" }
{ "id" : "SHORT_URL_HERE" }
{ "url_short" : "SHORT_URL_HERE" }
{ "data" : { "url" : "SHORT_URL_HERE" } }
{ "message" : "ERROR_MESSAGE_HERE" }
Your API can also return an array whose first object is a dictionary conforming to one of the above formats.
https://shortmenu.com/support/custom-services/ name修改为short或者shorturl或者id