api - Header syntax in POST request (PYTHON) -
i'm doing api call in python spotify api , apparently need have header parameter called "authorization" take following value:
" base 64 encoded string contains client id , client secret key. field must have format: authorization: basic "
does know means, , exact python syntax be?
thanks
this basic
http authrisation, http libraries convert authorized urlinto automatically
https://username:password@server/path
saving having mess headers.
Comments
Post a Comment