Forum Discussion
Satoshi_Toyosa1
May 10, 2020Employee
P.S., You can convert your user:password (note: colon in between) using JavaScript: e.g., from your browser's console,
> btoa("foo:bar") // Converting "user/password"
< "Zm9vOmJhcg=="
> atob("Zm9vOmJhcg==") // Back to the original string
< "foo:bar"
For Pythonistas:
>>> import base64
>>> base64.b64encode(b'foo:bar')
b'Zm9vOmJhcg=='
>>> base64.b64decode(b'Zm9vOmJhcg==')
b'foo:bar'