Skip to content
This repository has been archived by the owner on Mar 16, 2022. It is now read-only.

transformRequest has a gotcha, docs or code fix? #116

Open
twinforces opened this issue May 3, 2018 · 0 comments
Open

transformRequest has a gotcha, docs or code fix? #116

twinforces opened this issue May 3, 2018 · 0 comments

Comments

@twinforces
Copy link

transformRequest only fires if its a method that can have a body. This is misleading, as it's very common to perhaps want to tweak headers or something on an outgoing request before it gets to the destination server.

The solution is "use" instead of "transformRequest", but I was banging my head on this today.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant