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
Is there a way to not have prism send a request to a provided callback url? I'm working on APIs clients and use prism to ensure I'm dealing correctly with request and response data. Handling requests sent by the server to a callback URL is out of scope but I am still interested in validating request and response from the endpoint (POST /auth_stream here).
Unfortunately all my tests to endpoints defining callbacks fail with the following:
[2:41:28 PM] › [HTTP SERVER] post /auth_stream ℹ info Request received
[2:41:28 PM] › [VALIDATOR] ✔ success The request passed the validation rules. Looking for the best response
[2:41:28 PM] › [NEGOTIATOR] ✔ success Responding with the requested status code 200
[2:41:28 PM] › [CALLBACK] ℹ info authStreamAccessRequest: Making request to http://something.example.org...
[2:41:28 PM] › [CALLBACK] ✖ error authStreamAccessRequest: Request failed: request to http://something.example.org/ failed, reason: getaddrinfo ENOTFOUND something.example.org
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi there,
Is there a way to not have prism send a request to a provided callback url? I'm working on APIs clients and use prism to ensure I'm dealing correctly with request and response data. Handling requests sent by the server to a callback URL is out of scope but I am still interested in validating request and response from the endpoint (
POST /auth_stream
here).Unfortunately all my tests to endpoints defining callbacks fail with the following:
Beta Was this translation helpful? Give feedback.
All reactions