the use case is to add additional header for each ...
# multiplatform
e
the use case is to add additional header for each request executed, let’s say Authentication but with a custom header key
p
I think this is what you are looking for https://ktor.io/docs/default-headers.html#add
e
I already took a look but , what I need is to intercept the executed request , to get the URL , Body , Method and generate the Header depends on the parameters
m
Check out https://ktor.io/docs/default-request.html. The default headers block is called after the request is configured. Refer https://github.com/ktorio/ktor/issues/537#issuecomment-603272476