Closed seadhy closed 10 months ago
@seadhy the default headers are for the case that no headers are provided on the request itself. you should provide headers on the request itself.
you can reuse your baseHeader and set it on the request. afterwards adjust the one header you need
be carful that there is no merge happening between default headers and request headers.
As I wrote in the title, I wanna change the headers after defining session. Is this possible? This is my code:
For example, I wanna change only the
content-type
value, how can I do that?