Authentication
EIM REST API uses HTTP Basic authentication. Make sure to always use HTTPS when making requests.
- The username and password are combined with a single colon. (:). This means that the username itself cannot contain a colon.
- The resulting string is encoded into an octet sequence. The character set to use for this encoding is by default unspecified, as long as it is compatible with US-ASCII, but the server may suggest use of UTF-8 by sending the charset parameter.
- The resulting string is encoded using a variant of Base64.
- The authorization method and a space (e.g. "Basic ") is then prepended to the encoded string.
Request Headers
Name | Value | Type | Additional information |
---|---|---|---|
Authorization |
Base64 encoded username and password |
string |
Example: joe(username), test(password) -> joe:test -> am9lOnRlc3Q= |