Part 3: REST clients¶
The client modules call a posts service, but use different client APIs,
serialization extensions, and asynchronous return types. Start the posts
service in one terminal and a client in another. Check each sample's
application.properties for the expected service URL and client port.
MicroProfile REST Client¶
Programmatic clients¶
Client serialization¶
Run a client¶
Start a posts service such as rest on the port expected by the client, usually
8080. Then run the client from its own module directory:
./mvnw quarkus:dev
On Windows, run mvnw.cmd quarkus:dev.
What's next¶
- See GraphQL clients for GraphQL APIs.
- Return to REST backends and data access.