Basic authentication works as follows:
- If a request requires authentication, the server returns 401 (Unauthorized). The response includes a WWW-Authenticate header, indicating the server supports Basic authentication.
- The client sends another request, with the client credentials in the Authorization header. The credentials are formatted as the string “name:password”, base64-encoded. The credentials are not encrypted.
If you wish to send the credentials with the first request you can put web_set_sockets_option("INITIAL_BASIC_AUTH",""); function before the step in VuGen which sends the first request.