get information via REST api in python

 
Author
Message
SysAider
1
 
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
SysAid Product Manager Community Manager
393
 
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 wrote: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