Rest API form QRCode generation
- Java 8
- Spring Boot
- zxing, for the QRCode generation
Description | URI | HTTP Method | Payload | Note(s) |
---|---|---|---|---|
Service health check | /health | GET | ||
QRCode generation | /generate | POST | { "name":"name", "url":"url" } | |
QRCode generation and return the image | /generateAndGet | POST | { "name":"name", "url":"url" } | |
QRCode generation and return the image string Base64 encoded | /generateAndGetString | POST | { "name":"name", "url":"url" } |
mvn clean spring-boot:run
Check newman scripts at src/test/resources