How to define Basic Auth in survey flow Web Service

MuqaibilMuqaibil Community Member Qubie ✭

How to define Basic Auth in survey flow Web Service

Dear all,


I am wondering how to pass username and password of basic authentication for web service call. I used to pass api token in the custom header but could not find a proper param to pass the basic authentication username and password within the web service.


does anyone have an idea??

Best Answer

  • MuqaibilMuqaibil Community Member Qubie ✭
    Accepted Answer

    Just for the others


    I found the solution by passing the Authorization parameter in the header associated with the Base64 encoded of username and password as "username:password" and paste it as "Basic {Base64 encoded basic Auth}

    to get the Base64 encoded token, you may use any converter tool passing the format (username:password) and encode it. there will be a long token generated which can be passed in the web service as same as the API tokens

    final look of header will be:

    Authorization = Basic "Base64 encoded "

    Thanks..

Sign In to Comment