Custom QR Code with Logo

BETAALD
Door qrcode-monkey | Bijgewerkt 23 days ago | Tools
Populariteit

9.8 / 10

Latency

768ms

Serviceniveau

98%

Health Check

N/A

Terug naar alle discussies

Using logos in QR codes does not work in many scenarios

Rapid account: Cheqr
Cheqr
2 years ago

Hello,
I am trying to use the custom QR code API endpoint with a logo from a custom image, but I find it working only in very specific scenarios. I couldn’t find any detail about the supported images, formats, URL structures, and HTTP request headers to perform such operations.

For example, using the following URLs for the “logo” field leads to the following behaviors:

After some investigation, I discovered that the API does struggle when the “Transfer-Encoding” header is set to “chunked” (thus when “Content-Length” is missing), but even when I set a “Content-Length” I get errors about “Unsupported image format” (even though I am just using PNGs)

In the attempt to circumvent the issue, I used the /uploadImage endpoint to upload an image file first rather than directly use a URL, but I encountered similar problems.

What are the conditions under which images from URLs are correctly downloaded from the API?

Doe mee aan de discussie - voeg hieronder een opmerking toe

Log in / Schrij u in om nieuwe opmerkingen te plaatsen