πŸ§‘β€πŸ’»Login User

Authenticate a web user by providing their username and password.

Endpoint: POST /login_web_user

Request:

POST /login_web_user
Host: portal.drugnet.com.gh
x-api-key: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded

username=your_username&password=your_password

Login Web User

POST /login_web_user

Authenticate a web user by providing their username and password.

Request Body

Name
Type
Description

username*

String

Provided username

password*

String

Provided user password

Take a look at how you might call this method using our official libraries, or via curl:

Example

In case of errors, the API will return a JSON object with a success field indicating whether the request was successful, and a corresponding error message in the message field.

Last updated