sroethlisberger
Contributor
Contributor

Login over API

Hello Everyone

I'm trying to receive a Session_Id from my LogInsight.

Can anybody tell me whats wrong with my request? (I've received status 401 Unauthorized)

Kind regards

Steve

Labels (2)
Tags (1)
Reply
0 Kudos
daphnissov
Immortal
Immortal

Your URL is HTTP and not secure HTTP. Also, you need to always use FQDN when addressing the API or else things fail.

View solution in original post

Reply
0 Kudos
sroethlisberger
Contributor
Contributor

Hello

So calls over Http won't work?

Kind regards

Steve

Reply
0 Kudos
daphnissov
Immortal
Immortal

Of course not. You would never send auth payloads to an API endpoint unsecured.

Reply
0 Kudos
sroethlisberger
Contributor
Contributor

Alright. Thank you

Reply
0 Kudos