sheikhfahad67 / axios-interceptor

It's axios interceptor hook to reduce developer effort for configuring api interceptor.
MIT License
0 stars 0 forks source link

How to pass custom Header #1

Open am-abdullah opened 2 years ago

am-abdullah commented 2 years ago

In my project i need to use dynamic header as sometime i need 'content-type:'application/json'' and some time i need 'content-type:'multipart/formdata''. this interceptor only using the first one and it is not dynamic. if anybody can help it would be much appreciated

sheikhfahad67 commented 2 years ago

In my project i need to use dynamic header as sometime i need 'content-type:'application/json'' and some time i need 'content-type:'multipart/formdata''. this interceptor only using the first one and it is not dynamic. if anybody can help it would be much appreciated

Thanks @am-abdullah I'll look at this issue and try to resolve it ASAP.