How-to

How to Extract XML File from a Server with the HTTP Library

  • 12 August 2019
  • 0 replies
  • 29 views
How to Extract XML File from a Server with the HTTP Library
Userlevel 6
Badge +6
In this article, we will create an HTTP request to extract a file from a server without an identification system using the AIMMS HTTP library.

An HTTP request is used to communicate with servers. The following information is needed for the request:

Method : The action you want the server to do. The most common methods are:
  • GET (obtaining an object)
  • POST (sending an object to the server)
  • DELETE (deleting an object from the server)
URL : The address of the server where the request should be addressed.Headers : The headers are specification of the request. For example, specifying the type of file you want from the server. You can find a list of possible Headers for your request in this Wikipedia article.Body (optional) : Used to store data you want to send to the server, for example in a POST method request.


Read more...

0 replies

Be the first to reply!

Reply


Didn't find what you were looking for? Try searching on our documentation pages:

AIMMS Developer & PRO | AIMMS How-To | AIMMS SC Navigator