[Solved] Setting Image picture to a png retrieved from QR Code api

The sample url http://api.qrserver.com/v1/create-qr-code/?data=HelloWorld!&size=100x100 returns a QR code but not in a formatted way (e.g. JSON). So I don’t think you can use that API with Thunkable. There’s not a way to “grab” the image… you really need a text response, ideally JSON, where you can parse out the filename that ends in .png.

The documentation does indicate that you can specify the output format as JSON when reading a QR code but it doesn’t seem to offer that option when creating a QR code. A quick Google search did not turn up any QR code generator APIs that return JSON. Well, I did find one (Mussa Studios listed on this page) but it was not secure so I didn’t look at it.

3 Likes