下面嘗試用Firefox的restclient,來調取api
當然需要打開火狐瀏覽器安裝restclient的插件https://addons.mozilla.org/en-US/firefox/addon/restclient/
下載安裝就可以了。
1.打開RESTClient:
2.先設置http的header->customHeader,name: Content-Type ,value: application/x-www-form-urlencoded
3.輸入相應的信息:
4.返回查看信息就可以了