Basic Authentication is provided via -u
input parameter ( if you’re using cURL)
example:
curl -u user123@gmail.com:mySuperS3cretPassw0rd https://your-app.anvil.app/_/api/users/42
Could we also have it work when basic authentication is passed in the header
curl --location --request POST 'https://your-app.anvil.app/_/api/users/42' \
--header 'Authorization: Basic bHNhZW56OTEwNEBnbWFpbC5jb206dGVzaXWmNc=='
This would make working with postman easier
Thank you!
EDIT:
The username:password
is base64 encoded, just something that would have ot be handled.