Add the possibility to mock only requests having a specific header #342
theo-brlle
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! 👋
I have a little feature request to enhance Pulse mocking mechanism: would it be possible to apply mocks to not only specific URLs, but also requests having a specific header?
I am using GraphQL on my project, and since all requests are
POST
s on<host>/graphql
, I cannot mock a specific requests currently. The only way to diferenciate requests in my case is by checking their headers or their bodies.Thanks for your amazing work @kean!
Beta Was this translation helpful? Give feedback.
All reactions