Post type request rest in soapui
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2017
06:04 AM
12-08-2017
06:04 AM
Post type request rest in soapui
Hi all,
I have a problem with the way to send data in post request < I don't have to receive a void access token> here is my request for example.
maybe a problem her it the type of media, is it correct how i send my data {officeID : "jhg" ..... im not using media type : application/JSON as below ?
Post
any help a appreciate 🙂 thanks a lot
PS : sorry for my english i don't know if im clear
Solved! Go to Solution.
2 REPLIES 2
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2017
09:49 PM
12-08-2017
09:49 PM
Yes, it looks like you're sending JSON content, so you should be using Content-Type: application/json on your request.
Have you tried it?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2017
06:16 AM
12-14-2017
06:16 AM
yes, i changed the value of type media to Application/json and it works, thank you for help
