konrad-kaminski / spring-kotlin-coroutine

Kotlin coroutine support for Spring.
448 stars 69 forks source link

How do I add request headers using CoroutineWebClient? #13

Closed asarkar closed 6 years ago

konrad-kaminski commented 6 years ago

Use the latest version (0.3.2). There you'll find methods in CoroutineWebClient.RequestHeadersSpec. An example with customer header can be found in CoroutineWebClientSpec test.