Replies: 1 comment
-
|
Hi, Sounds great. Let me see what I can do 👍 |
Beta Was this translation helpful? Give feedback.
0 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
The Problem
As backend developer, I tried to use mocktail to mock third parties APIs responses.
Unfortunately when I try to store an XML string as response, I got the JSON.parse error notification toast. Thus, it seems that by default mocktail assumes that JSON format is used for communication.
Also, I might need to mock custom headers in HTTP requests/responses with plain text, i.e.:
The proposed solution
Ideally, that would be nice to have options of flexibility in terms of requests/responses.
Something like a selector for the body format between:
Beta Was this translation helpful? Give feedback.
All reactions