I have been given an IP address where access is restricted via .htaccess and user login is needed through the signal. However, it needs to be automated because there is an API on the IP that I need to access - is there any way that I can send the username and password through the URL?
e.g. I use the API (via the "//" in the actual code), using the API: http: // 118.118.1.118/API/query
I tried to create a URL like this Is Http: // username: password@118.118.1.118/API/query
, but it does not work - I have received the authentic Job I tested on IE.
Any thoughts?
Comments
Post a Comment