Develop > Developer reference > Authentication endpoint service

Authentication endpoint service

Before running any REST API, you must run the Authentication API, which provides a token for the applications.

To run the Authentication API:

  1. Enter the request:

    A POST command, in the following format:

    POST /auth/authentication-endpoint/authenticate/login

    The request body should include the user name and password in JSON format. For example:

    {"Login":"demoUser@microfocus.com","Password":"Password1"}

  2. The response body contains the token for authentication.

    Example:

    oNY4MpMuxV4FVPQxq7JGwpTQer6Es6_umMk_tDmau18MmiNA5mmCpqA09Zdm3eB_zfNSC-w-DHCXoySi72HdDvKF2rjXhGVGjj1-kF5dArvMkqhjnQ_XIUp53jOhXHKIx1kTwFSkQhqk3mgFHARXsuLqMI1MCKIp_ynNFc0tYzQvEUs4gjiP3-QmGjVDbxk4yfUES_eiA_91mcW9xBcZ3UEkJFIcWsMjM9GJDMEoHdjRMmWiMOEFAU8pbEVxUg7L

Related topics