Web Client Consumer Java Sample
The project is an example of using the http web client to promote synchronous and asynchronous https calls.
Requirements
Java 11+
IntelliJ IDEA / Netbeans / Eclipse
Usage
Synchronous call:
curl --location --request GET 'http://localhost:9080/api/v1/products/1/images/sync'
Asynchronous call:
curl --location --request GET 'http://localhost:9080/api/v1/products/1/images/async'
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.