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.
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.