= Spring REST Docs WebTestClient Sample
Andy Wilkinson;
:doctype: book
:icons: font
:source-highlighter: highlightjs

Sample application demonstrating how to use Spring REST Docs with Spring Framework's
WebTestClient.

`SampleWebTestClientApplicationTests` makes a call to a very simple service. Six
snippets are produced. One showing how to make a request using cURL:

include::{snippets}/sample/curl-request.adoc[]

One showing how to make a request using HTTPie:

include::{snippets}/sample/httpie-request.adoc[]

One showing the HTTP request:

include::{snippets}/sample/http-request.adoc[]

One showing the request body:

include::{snippets}/sample/request-body.adoc[]

One showing the HTTP response:

include::{snippets}/sample/http-response.adoc[]

And one showing the response body:

include::{snippets}/sample/response-body.adoc[]