rocky icon indicating copy to clipboard operation
rocky copied to clipboard

transformRequest has a gotcha, docs or code fix?

Open twinforces opened this issue 7 years ago • 0 comments

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.

twinforces avatar May 03 '18 21:05 twinforces