2014년 9월 6일 토요일

how to test rest api

1. Install Rest console extention on Chrome.



2. Set Request URI, Method, Content Headers, and Payload.


If you don't set Content-Type and Encoding on Content Headers, for example, application/x-www-form-urlencoded for Content-Type and utf-8 for Encoding, when you test post method, you will see error message "Failed to validate request parameters."



3. Press Send button.

댓글 없음:

댓글 쓰기