I tried to test RESTful web service by posting query parameters, however, after I checked "Post QueryString" check box, no parameters were send out with request
Can someone please tell me what is wrong? BTW, I am using version 4.5.1
Thanks a lot
POST should not have query param. You can implement the service to honor the query param, but this is against REST spec. "Why do you pass it in a query param?" Because, like for GET requests, the query parameters are used to refer to an existing resource.
Query parameters are a defined set of parameters attached to the end of a url. They are extensions of the URL that are used to help define specific content or actions based on the data being passed. To append query params to the end of a URL, a '? ' Is added followed immediately by a query parameter.
I can't be sure, but increasing the Size of Raw Request to Show setting (which defaults to 10000) may help.
See: File / Preferences / UI Settings / Size of Raw Request to Show.
I set it to 100000, now I can see the POST query parameters in Raw mode, too.
(Also, credit goes to SmartBear forum user olensmar.)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With