seafile-js icon indicating copy to clipboard operation
seafile-js copied to clipboard

How can i receive http status code?

Open muaddip01 opened this issue 6 years ago • 1 comments

Can you add global interceptor for axios, like this: axios_instance.interceptors.response.use(res => {return res;},error => {return Promise.reject(error.response.data)});

muaddip01 avatar Jan 06 '19 09:01 muaddip01

Can you add global interceptor for axios, like this: axios_instance.interceptors.response.use(res => {return res;},error => {return Promise.reject(error.response.data)});

Hello, is the server parameter of this API passed to the fileserver of the seafile service? I don't know how to do that, but when I try to pass in a parameter like this, 404

PachVerb avatar Apr 22 '20 11:04 PachVerb