Inputting JSON request for a RESTful web service
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2018
09:55 AM
08-30-2018
09:55 AM
Inputting JSON request for a RESTful web service
Hey all!
I've looked through many tutorials (and perhaps looked over the part I was looking for), but I can't find out how to just copy and past the request JSON into soapUI. I know how to construct it, and would like to just copy and paste my already formatted json and see if I get a response. Is there a setting I'm missing that will allow me to do so?
If not, I can continue trying to figure out how to do it a separate way. Thank you!
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2018
01:17 PM
08-30-2018
01:17 PM
Hi,
I'm not sure if I understood your question.
To put JSON in your request body, first make sure the method is not set to GET (perhaps use POST or PUT?). Then when you edit the request, you can type the body in the section at the bottom.
It's a good idea to also set the Media Type to 'application/json'.
