You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’d like to simulate an API that provides books. When someone requests GET /books/42, I want to return the same predefined response every time. For all other requests, I would like Prism to respond dynamically or statically based on the specified examples, as it normally does.
Is there currently a way to achieve this in Prism? If not, it would be great if such functionality could be implemented.
I’d like to simulate an API that provides books. When someone requests GET /books/42, I want to return the same predefined response every time. For all other requests, I would like Prism to respond dynamically or statically based on the specified examples, as it normally does.
Is there currently a way to achieve this in Prism? If not, it would be great if such functionality could be implemented.
Let’s say I have the following endpoint:
And this is my specific example for which I would like the same response to be returned every time:
Thank you!
The text was updated successfully, but these errors were encountered: