API Authentication
The HypeProxy.io API requires an authentication token, but we were split between the demand of customers who didn't want to use a complex authentication mechanism like JWT and bringing a good level of security to our service, for this reason we decided to propose two mechanisms:
Here is a classic example of login with a JWT token, using the
Authorization
HTTP header:GET /v2/Profile HTTP/1.1
Host: api.hypeproxy.io
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c
The call of theProfile
endpoint is just an example, it works same on every endpoints.
Some people can't make complex requests and/or don't have access to HTTP headers, so we accept the JWT Token as query parameter.
You just have to pass your JWT token as a
?apikey=
query string.curl "https://api.hypeproxy.io/v2/Profile?apikey=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"
To authenticate you need to use the endpoint
/v2/Authentication/SignIn
.post
https://api.hypeproxy/io
/v2/Authentication/SignIn
Login and Get JWT Token.
Last modified 1yr ago