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 "Input REST file syntax". For additional examples, see "Example input REST file."
In addition to mapping endpoints to tables, you can customize your mapping and driver behavior using the REST file. See "Input REST file syntax" for details.
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>"
}