Linking and Mapping Procedures to Specific REST Service URLs
This section explains how to link each procedure to a specific HTTP verb and then how to map each URL for the procedure to your REST service client application.
HTTP defines verbs (or methods) to specify an action to perform on the data. You can link the logic that you have defined using other procedures within TDV to a specific HTTP verb. These verbs are trusted actions that HTTP allows to pass over the network.
SQL Script Procedure | HTTP Verb | Description of Action |
playdataByID | GET | Requests the specified data. GET retrieves data and does nothing else. |
insertPlaydata | POST | Submits data to be processed. The data is included in the body of the request. |
deletePlaydata | DELETE | Deletes the specified data. |
This section includes the following topics: