Hi all, I have created a servlet extending SlingAllMethodsServlet class and inside the doGet() method I need to send a HTTP GET request with some header values.
Below are the values that should be sent through the request.
url - http://localhost:8080/
username - username
password - abc
How to achieve this?
Thank You.
--
*Hasini Witharana*
Undergraduate | Department of Computer Science and Engineering
University of Moratuwa
Linkedin <https://www.linkedin.com/in/hasini-witharana-185785109/>
