Skip to content

Conversation

@tranmh
Copy link

@tranmh tranmh commented Feb 22, 2024

Hi,

it would be great, if you can accept my pull request and bring this small REST-API to the main code. For the moment it is written in a very simple manner, but it is of course possible to extend to the way you want it.

For the moment I prefer to use the same REST-API parameters like:
https://goqr.me/api/doc/create-qr-code/
and will extend it to a certain need. Obviously the mentioned REST-API is not open source like this.

Thx.

@tranmh
Copy link
Author

tranmh commented Feb 23, 2024

Example query:

        $url =
                'http://localhost:6868/api/qrcode?data='.
                $data_to_qrcode.
                '&size='.$options['size'].
                '&color='.$options['foreground'].
                '&bgcolor='.$options['background'].
                '&ecc='.$options['errorCorrectionLevel'];

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant