Tutorial Guide > REST Tutorial > Linking and Mapping Procedures to Specific REST Service URLs
 
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:
Linking the playdataByID Procedure to an HTTP Verb
Mapping the Studio REST playdataByID URLs to Specific REST Services
Linking the insertPlaydata Procedure to an HTTP Verb
Mapping the Studio REST insertPlaydata URLs to Specific REST Services
Linking the deletePlaydata Procedures to an HTTP Verb
Mapping the Studio REST deletePlaydata URLs to Specific REST Services