Authorization

Biographic database OAuth 2.0 authorization.

authorize

post

Use OAuth 2.0 to authorize the API to request biographics.

Body

Authorization request

clientIDstringOptionalExample: client-id
clientSecretstringOptionalExample: client-secret
Responses
200

Authorization OK

application/json
post
POST /biographicBase/authorize HTTP/1.1
Host: <ip>:8130
Content-Type: application/json
Accept: */*
Content-Length: 55

{
  "clientID": "client-id",
  "clientSecret": "client-secret"
}
{
  "token": "eyJhbGciOiJIUzUxMiJ9.eyJpZCI6MSwibmFtZSI6IkpvaG4ifQ.J3KLoXwPhku..."
}

Was this helpful?