1

I have an dummy API which throws a response of 0 and 1, how can I get different responses with it using Postman. ie When I Hit the API if it throws a response of 0 it should show a different message and same goes with 1

I didn't know the approach

Ishan
  • 11
  • 1

1 Answers1

0

I don't think there is a feature in the Postman application to change the response value based on the response received through an API call. But there is a feature to Mock Responses in Postman

Himanshu Jain
  • 334
  • 2
  • 12