INT 21h

Select language

My QR Code Generator service

№ 12000 В разделе Programming от May 27th, 2023,
В подшивках:

Made my own QR codes generator with Golang for my sites and services. You can deploy it to your kubernetes or virtual machine.

Code repository here https://git.blindage.org/21h/qr-generator-service

Service have feature to limit generated barcodes with listed domains, accepts GET and POST requests:

$ curl -vs -X POST -d '{"URL":"http://blindage.org/"}' http://localhost:8080/qr -o qr.png
*   Trying 127.0.0.1:8080...
* Connected to localhost (127.0.0.1) port 8080 (#0)
> POST /qr HTTP/1.1
> Host: localhost:8080
> User-Agent: curl/7.81.0
> Accept: */*
> Content-Length: 30
> Content-Type: application/x-www-form-urlencoded
> 
} [30 bytes data]
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Content-Type: image/png
< Date: Fri, 26 May 2023 21:25:17 GMT
< Content-Length: 430
< 
{ [430 bytes data]
* Connection #0 to host localhost left intact

Нет комментариев »

Leave a Reply

Your email address will not be published. Required fields are marked *

*

Облачная платформа
Яндекс.Метрика

Fortune cookie: I like your SNOOPY POSTER!!