Contributions
Re: rest response accept application/json could be changed to in the ui back in older versions of soapui
this is not what I need. I need to be able to manipulate the response content type. In older editor you could define what kind of response type you wanted to have. Issueing an REST request with json payload hence content type application/json and receive ACCEPT content-type application/xml Cedric2.3KViews0likes0Commentsrest response accept application/json could be changed to in the ui back in older versions of soapui
I would like to change the response type between application/json and application/xml. back in the days of older soapui versions this was still possible since about 3 version this feature has disappeard. Content-type can still be changed but the response-type cannot be changed. Is this still possible and how? This feature was especially useful when testing REST services which @Produces({MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML}) Regards Cedric2.3KViews0likes2CommentsRe: Rest api - post with JSON body
I have the same problem. When I change the Content-Type to application/json I get an error. In general it seems that Media-Types are being ignored to and defaulted to application/xml if the REST server supports application/xml. If I change the REST server to only support application/json voila everything works fine. Back in version 3.x one could choose which return type one wanted based on the REST Server capabilites. e.g. application/xml or application/json in my case. What has changed? It seems that this new version is a step back in useability. Regards Cedric10 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.4KViews0likes0Comments