How to make qr codes for wifi

I want to make a app in which users can enter wifi details like username, wifi password and then generates a qr code

and if anyone scans the qr code wifi automatically gets connected

https://www.google.com/search?q=wifi+qr+code+generator+api
Taifun

how to use api for that any tutorial ?

search the community to find tutorials about how to use an API
https://community.kodular.io/search?q=api%20%23guides
Taifun