[Contents] [TitleIndex] [WordIndex

Report 2012/06/04 - 2012/06/19

Created a new toolbox for the REST client. Have included the GET/POST/PUT/DELETE REST method calls.

Code not yet committed. Will soon provide the link.

Discussions and learning:

Initially, during the discussion of the structure, we had decided to use C++ classes setting REST options. So started working with classes, used a singleton class to store the rest options, wrote functions to access and modify the options.

But later, we shifted to using the Scilab struct for it instead. This decision was based on the convenience it would provide the user to specify the call options. The user can now create multiple structs to be used with different URLs or can provide all the parameters individually.

Got to know about the cURL library parameters for the respective REST calls. The file read-write ways of the library.

Got to know about the mlist manipulation functions to extract and check the arguments at the gateway. Used the proxy and authentication support implemented in the Remote File Access Module for the REST client.

Have to do a thorough testing of this initial version, write the supporting help pages and tests too.


2022-09-08 09:27