Optum / mockiato

A web-based platform for API virtualization
Apache License 2.0
24 stars 9 forks source link

Displaying an error when we click on Send as part of TestService functionality #578

Closed pkotha5 closed 4 years ago

pkotha5 commented 4 years ago

1.Create a REST service with req payload and req header 2.Add one more RR pair ad give the same req payload as step1(give blank value for the request header). 3.Click on "publish" Service is creating successfully 4.Click on "TestService"-->Send, It's displaying an error.

Actual Result : Displaying an error and not displaying the response

Pradeep298 commented 4 years ago

for Json payload type we must provide content-type as application/json in request. I have fixed this on Test service page. Content-type not visible but we send it by default in request.