Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
507 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 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...