Ask a Question

Post type request rest in soapui

SOLVED
soalri
Occasional Contributor

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 Untitled.png 

 

any help a appreciate 🙂 thanks a lot 

PS : sorry for my english i don't know if im clear  

2 REPLIES 2
JHunt
Community Hero

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?

soalri
Occasional Contributor

yes, i changed the value of type media to Application/json and it works, thank you for help 

cancel
Showing results for 
Search instead for 
Did you mean: