The input REST file method allows you to access data from one or more endpoints, define POST requests, and configure additional customizations supported by the input REST file.
To configure the driver to using the input REST file method:
Set the REST Config File (RestConfigFile) option to specify the name and location of the input REST file used to define your endpoints. For example, C:/path/to/myrest.rest.
Optionally, if you want to store the relational map in a resolved REST file, set the Create Map (CreateMap) option to either of the following values:
1 (ForceNew): The driver deletes the current REST file, internal configuration files, and relational map in the location specified by the Schema Map (SchemaMap) option and creates a new set at the same location.
2 (NotExist): The driver uses the current REST file, internal files, and relational map in the location specified by the Schema Map option. If the files do not exist, the driver creates them.
Note that if no value is specified for Create Map, the driver defaults to using internal memory to store the map (CreateMap=3).
Optionally, if you are storing the relational map to a REST file (CreateMap=1 | 2) , you can set the Schema Map option to specify the location to generation the REST and internal driver files. The default location depends on your platform: