I have a java/ws-rawclient thread configured to issue a GET via a url that includes a parameter, e.g.:
http://10.24.74.4:5481/api/Interface/GetCheese?Type=COMTE*
On the header tab, under HTTP authentication a valid user and pwd has been specified.
In the logging, I can see that authentication is missing from the HEADERS. The call to the GET API fails due to invalid credentials.
If I remover the parameter and send:
http://10.24.74.4:5481/api/Interface/GetCheese
Authentication now appears in the HEADERs in the logging, and the call succeeds, data is retrieved.
It seems that when adding the parameter to the GET, the auth details are lost or overlooked. Has anyone experienced this behaviour? The behaviour seems wrong to me, the parameter shouldn’t make a difference in whether the auth details get passed into the call to the API.