Trying to send an application/json request to a server protected by BASIC authentication. The request always fails, returning a '0'. The certificate on the server I am connecting to is self-generated/signed, not sure if this is the problem. Have been able to successfully send requests via the terminal using curl (with the -k flag).
Closing this issue, as BASIC authentication is definitely working. The problem was with the self-signed/generated certificate (you just need to add the cert to Firefox first).
Trying to send an application/json request to a server protected by BASIC authentication. The request always fails, returning a '0'. The certificate on the server I am connecting to is self-generated/signed, not sure if this is the problem. Have been able to successfully send requests via the terminal using curl (with the -k flag).