generates QR codes
- Accept : text/plain , for a Base64 encoded QRCode image
- Accept : image/png , for a streamed QRCode image
Is using the QR Code library: com.github.kenglxn sample test calls (no Accept header needed):
- GET: http://localhost:8080/api-qrcode/image/getpng/{image-name-no-extension}
- GET: http://localhost:8080/api-qrcode/image/getb64/{image-name-no-extension}
- GET: http://localhost:8080/api-qrcode/ping for testing if the application is up
- GET: http://localhost:8080/api-qrcode/image/v1/test1 (only test1.png exists)
Accept : text/plain , for a Base64 encoded QRCode image from hardcoded text
Accept : image/png , for a streamed QRCode image from hardcoded text
Accept : text/plain , for a Base64 encoded QRCode image from the model text field Accept : image/png , for a streamed QRCode image from the model text field
{
"text": "Some sample text",
"size": "150"
}