skip to main content
Using the Driver : Configuring the Relational Map : Creating an Input REST File
  

Try DataDirect Drivers Now

Creating an Input REST File

The input REST file is a simple text file that uses the file_name.rest naming convention. To configure the file, you will need to populate the contents with a list of comma-separated endpoints and requests using the formats described in this section. A sample REST file, named example.rest, is installed in the install_dir\restfiles directory. For additional examples, see "Sample Input REST File."
The following example demonstrates the basic format used in the REST file when mapping a table to the schema:
{
"<table_name1>":"<endpoint1>",
"<table_name2>":"<endpoint2>",
"<table_name3>":"<endpoint3>"
}
Note: Specifying an HTTPS endpoint in the input REST file enables SSL encryption. See "Data Encryption Options" for a list of related options.