HTTP Basic Auth

Hi,

I wish to create a JSON service where all users share the same HTTP Basic authentication to access the REST API, so I need that the password somehow becomes a part of the service definition.

DLeap support this authentication method:

Where can I enter username+password to prevent users from being prompted for REST service authentication, like this?

I believe there must be a better way than to add base64-encoced value into Request-Headers...

Hello Jan,

Please try to set the Authentication to None and add the following below in Request Headers, and make sure these are not assignable. See sample below::

>Image<

>Text<
Accept = application/json
Content-Type = application/json
Authorization = Basic <hash of username and password>

In Authorization header value, to hash your credentials, you can use a hash program like base64encode to achieve this.

Username and password is concatenated with a colon. For example you have username company admin and a password is p@ssw0rd

The encode data is company admin:p@ssw0rd

The hash value is Y29tcGFueSBhZG1pbjpwYTU1d29yZA==

Hence, the Authorization header value is now Basic Y29tcGFueSBhZG1pbjpwYTU1d29yZA==

Hope this helps.

Thanks,

Jayve