I am working on a project to access data from a web service using SAME70XPlained board. I am building my code using THIRDPARTY LWIP RAW BASIC HTTP EXAMPLE to set up static IP ethernet connection. That I have successfully received. For the next step to access a web service,I researched on internet about GET and POST method requests that can retrieve and post the data on a web server.
In my code I want to access this currency converter web service(http://currencyconverter.kowabunga.net/converter.asmx/GetCurrencyRate?Currency=CAD&RateDate=2019-02-25). So that I can pass values to its parameters like Currency=CAD and Rate Date=2019-02-05 and can get my output value as following on my web page:-
This XML file does not appear to have any style information associated with it. The document tree is shown below.
Following are the doubts that I have:-
1. How can I access to another web service if my Atmel board is acting like a web server?
2. How to use POST method request in my code?
3. Is the httpserver code enough or Is there a different httpclient code that I need to implement?
I would really appreciate any help.