2021年4月30日星期五

GWT HTTP Post Testing Using Postman

Anyway to use Postman to test HTTP Post on GWT ?

HTTP POST URL example as below

http://localhost:8080/x/rpc  

Request Payload

7|0|4|http://localhost:8080/xxx.admin/admin/|FACC699CEECDE8714C2C622F39051260|com.x.portal.shared.xRpc|getx|1|2|3|4|0  

I got this error Content-Type was 'text/plain'. Expected 'text/x-gwt-rpc'.

On Postman, it seem doesn not have a features to set the MIME type to text/x-gwt-rpc

https://stackoverflow.com/questions/67336598/gwt-http-post-testing-using-postman April 30, 2021 at 11:30PM

没有评论:

发表评论