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
Hi there, very thanks to make js interface from type based safety api!
I used 'type to axios style api', and thought that it is more useful for development(flexibility) to inject default header "Content-value 'application/json'" and body as {}(this maybe axios behavior likely bug. When none body is passed, header is not inject if header value is passed.).
How about inject axios default header Content-Type 'application/json' and body as {} or merged with body like {...body}?
Example output like below.
Hi there, very thanks to make js interface from type based safety api!
I used 'type to axios style api', and thought that it is more useful for development(flexibility) to inject default header "Content-value 'application/json'" and body as {}(this maybe axios behavior likely bug. When none body is passed, header is not inject if header value is passed.).
How about inject axios default header Content-Type 'application/json' and body as {} or merged with body like {...body}?
Example output like below.
I think it is easy to fix and provide more seamless work for api with client lib also under development environment.
The text was updated successfully, but these errors were encountered: