login action

15 views
Skip to first unread message

Eugene

unread,
Nov 10, 2020, 11:37:12 AM11/10/20
to SherpaDesk API

Hi, I am trying to connect to your API according to the docs.

But for the login action I get HTML page in the response instead of JSON as it is described in the documentation.

I mean this call:

GET https://api.sherpadesk.com/login Base64Encode: username:password headers :Authorization: Basic 

Eugene

unread,
Nov 10, 2020, 11:37:27 AM11/10/20
to SherpaDesk API
Hi,
Login request accepts only POST, not GET. 
Also please add parameter 
?format=json

Eugene   

вторник, 10 ноября 2020 г. в 18:37:12 UTC+2, Eugene:
Reply all
Reply to author
Forward
0 new messages