You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c32c8eb
Browse filesBrowse the repository at this point in the historyBrowse files
Adrian Cole
authored and
Adrian Cole
committed
Documents how to send POST bodies
@brianm noticed we were missing docs on how to use POST.
`Feign.builder()` allows you to specify additional configuration such as how to encode a request.
178
+
The simplest way to send a request body to a server is to define a `POST` method that has a `String` or `byte[]` parameter without any annotations on it. You will likely need to add a `Content-Type` header.
179
179
180
-
If any methods in your interface use parameters types besides `String` or `byte[]`, you'll need to configure a non-default `Encoder`.
0 commit comments