Replies: 1 comment
-
Use |
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.
-
If below format is used in axios calls , how can we achieve the same via feathersjs api call ?
Where do we need to specify the 'responseType' key ?
return axios({ method: 'get', url: '_URL_', responseType: blob }); }
I tried mentioning below code block for post request via create method from feathersjs doc:
var config = { headers: { 'Content-Type': 'application/json'}, responseType: 'blob' }
const response = _SERVICE_NAME_.create(data, config)
Please help me to understand the format for mentioning responseType in request in feathersjs.
Beta Was this translation helpful? Give feedback.
All reactions