I am trying to send a POST XML request to a Linux server. I connected to the server using putty by selecting the telnet option. OS on the server is SunOS 5.10. I tried to find a solution on Google and found two methods to send the request. First method is using curl. However, I need to install curl first on the server. It will be a longer process for me due to admin restrictions.
I need help with the second method. Below is some of the information that I could gather on how to send the POST request:
POST (URI) HTTP/1.1
HOST: (Host address)
Content-Type: text/plain
I am unsure about other parameters. I have the XML request body with me that I have to send to the endpoint. Could someone please guide me on how to write a workable request?