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 have an API which gives response as stringified JSON. At application run time this ajax API calls works perfectly. But, while test running, the API is getting response as JSON object not as string.
If this question is still outstanding, could you close this issue and open a new issue in https://github.com/miragejs/miragejs/issues This functionality has been extracted to a new repo and no longer controlled by this addon.
How can I response as string ?
I have an API which gives response as stringified JSON. At application run time this
ajax
API calls works perfectly. But, while test running, the API is getting response asJSON
object not as string.Mirage route code:
Ajax API call code:
Can anyone could help ?
Edited:
Similar kind of approach, we required to have for an another API which expects buffer data instead of JSON object.
The text was updated successfully, but these errors were encountered: