VMware Cloud Community
sroethlisberger
Contributor
Contributor
Jump to solution

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)
0 Kudos
1 Solution

Accepted Solutions
daphnissov
Immortal
Immortal
Jump to solution

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

0 Kudos
4 Replies
daphnissov
Immortal
Immortal
Jump to solution

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

0 Kudos
sroethlisberger
Contributor
Contributor
Jump to solution

Hello

So calls over Http won't work?

Kind regards

Steve

0 Kudos
daphnissov
Immortal
Immortal
Jump to solution

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

0 Kudos
sroethlisberger
Contributor
Contributor
Jump to solution

Alright. Thank you

0 Kudos