Hello community
First of all thanks for taking the time to read my question
My question is with reference to the consumption of web Services from AL for Business Central, I have knowledge on how to consult a web service and I do it in the following way (Quick Example)
url := 'URL Web Service';
if not PBAHttpClient.Get(url, PBAResponse) then
Error('');
PBAResponse.Content.ReadAs(PBAResultado);
Message(PBAResultado);
end;
The previous example is to consult a web Service which can be accessed without a username and password
My doubt or question would be how to consume a web service that has a username and password in which way these parameters are encoded in AL so that I can get a response from the web service
I hope my question can be solved and thank you very much for the time
nice day