get information via REST api in python

  • 25 December 2021
  • 1 reply
  • 180 views

hi there
I have problem when I want to get information via REST in python requests
I don't know which protocol should I use for Authentication
from browser I can get api responses because I can logged in via login page
but in python code I can't login because in python I have to define api authentication protocol
for example oauth1 or basic or ...
I tested with basic authentication but I got error I guess sysaid doesn't support basic auth
please help

1 reply

Userlevel 5
Badge
Hi skarimi,
In designated tools to manage API action like Postman for example there is basic authentication flows that can be connected as needed, are you using such tool if so which? Adding here also our REST API guide for more details:
Check IT out
Let us know,
Thanks,
Maayan

skarimi
hi there
I have problem when I want to get information via REST in python requests
I don't know which protocol should I use for Authentication
from browser I can get api responses because I can logged in via login page
but in python code I can't login because in python I have to define api authentication protocol
for example oauth1 or basic or ...
I tested with basic authentication but I got error I guess sysaid doesn't support basic auth
please help

Reply