2023 Jan 16 7:57 AM
Hello Experts,
In order to connect to URL I call cl_http_client=>create_by_url( EXPORTING url = im_url ….)
During the standard methods an exception http_communication_failure is raised.
In the debug I can see that method GET_HEADER_FIELD in CL_HTTP_ENTITY is called. There value = 407
Is this error code connect to ‘407 Proxy Authentication Required’?
Thank you in advance
Hagit
2023 Jan 16 8:18 AM
It says to indicate proxy information while connecting (= proxy parameters of create_by_url).
2023 Jan 16 8:32 AM
sandra.rossi thank you for your answer.
Is it a baisis issue or are there missing parameters in the url ?
I want to emphasis that the same url from the browser works ok. But via a code (create by url) an exception is raised.
2023 Jan 16 10:12 AM
2023 Jan 16 10:44 AM
This value means that the server requires authentication. You need to authenticate with the server in order to access the URL. You can either do this by providing credentials in the cl_http_client=>create_by_url method, or by setting the credentials in the global configuration of the HTTP client.
2023 Jan 19 12:36 PM