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
So I have an API endpoint that accepts a Multipart/form-data as a Content-Type. How should I handle this in the tests? I don't see anything about the documentation. The only way I got it working was to specify "["Content-Type": "multipart/form-data"]" as the header in the mock service, but I couldn't figure out the body because at least for ours, it contains a JSON object and form-data. So right now, I can't verify the body :/
The text was updated successfully, but these errors were encountered:
❔ Question
So I have an API endpoint that accepts a Multipart/form-data as a Content-Type. How should I handle this in the tests? I don't see anything about the documentation. The only way I got it working was to specify "["Content-Type": "multipart/form-data"]" as the header in the mock service, but I couldn't figure out the body because at least for ours, it contains a JSON object and form-data. So right now, I can't verify the body :/
The text was updated successfully, but these errors were encountered: