Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
511 views
in Technique[技术] by (71.8m points)

api - Unable to hit POST mock service in browser

I am trying to create a mock service URL for POST operation in Postman, to do that i have created a mock server https://e4394c97-2a72-4088-b242-46a559cb92f7.mock.pstmn.io and created a service request in that server followed by the endpoint which i am trying to hit.eg. https://e4394c97-2a72-4088-b242-46a559cb92f7.mock.pstmn.iov1/entityno/message Created an example as well by passing the req and response body which i am expecting from my service along with the status code. The prob is inside postman this mock service will work fine when i hit this in browser it says mockRequestNotFoundError Double check your method and the request path and try again." header "No matching requests"

I have created similarmock service for GET operation that works fine in bowser but POST having issues can anyone tell me why????

question from:https://stackoverflow.com/questions/65940296/unable-to-hit-post-mock-service-in-browser

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...