Header Map
Add headers to a request
@GET("comments")
suspend fun requestWithHeaders(@HeaderMap headerMap : Map<String,String>): List<Comment>
Content copied to clipboard
By default, Headers do not overwrite each other: all headers with the same name will be included in the request. Except headers mentioned as singleton, e.g. Content-Type