I created a swing client application which calls Restful api. I want to display both request and response. I could display response but request since it is a URI i could not print it in a xml format. How to display the request
There are plenty of browser plugins that'll let you construct a request to RESTful services. My favorite is Postman for Chrome
It'll let you type in the URI, required headers, and body, and displayes the results. Very useful for debugging RESTFul services.
I have found RESTClient to be nice. Its available in both chrome and firefox.
https://addons.mozilla.org/en-us/firefox/addon/restclient/
https://chrome.google.com/webstore/detail/advanced-rest-client/hgmloofddffdnphfgcellkdfbfbjeloo
Personally I've only used the one on Firefox since there's where I do any of my debugging.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.