But I got 403 error. After checking postman I found out that POST has header Authorization with value Basic UUUUUUUUUUUUUUUUUUUUU==. As I understand it is a base 64 from user:password.
My question: how do I make base64 in robot?
I tried:
Yes, we became closer to answer. Now I got error:
Evaluating expression âbase64.b64encode(âUser:Passwordâ)â failed: TypeError: a bytes-like object is required, not âstrâ
But still get the error: Evaluating expression âbase64.b64encode(âUser:Passwordâ)â failed: TypeError: a bytes-like object is required, not âstrâ
I tried â${byte}â and ${byte} (in this case I got error âinvalid syntaxâ)
What should I use now?