Issue with overriding default headers in HttpClient setup using mapRequestInput
I'm using the HttpClient platform and I'm trying to have the following effect:
1. When my custom client is initialized, it has some default headers appended to it.
2. I have a function that then allows you to override the client's default headers.
The below doesn't seem to remap the headers and I'm unsure why as the annotation for: "mapRequestInput" says it "Prepends a transformation of the request object before sending it"
Am I doing something wrong or rather is there a better way of doing this?
1. When my custom client is initialized, it has some default headers appended to it.
2. I have a function that then allows you to override the client's default headers.
The below doesn't seem to remap the headers and I'm unsure why as the annotation for: "mapRequestInput" says it "Prepends a transformation of the request object before sending it"
Am I doing something wrong or rather is there a better way of doing this?
