Decode a QR code.
POST/generate/qrcode/decode
Decodes a QR code from a URL or buffer and returns the encoded data. The supported file formats are jpg
, png
, bmp
, tiff
, gif
.
Request
Header Parameters
ipaas string
- application/json
Bodyrequired
urlstring
The URL to the QR code.
bufferstring
The QR code as a Base64-encoded buffer. Can be used instead of url
.
Responses
- 200
- 400
Success
- application/json
- Schema
- Example (auto)
Schema
datastringrequired
The data contained in the QR code.
{
"data": "string"
}
Bad Request
- application/json
- Schema
- Example (auto)
Schema
statusnumber
errorMessagestring
{
"status": 0,
"errorMessage": "string"
}