Sample web service (API) for contact resources.
Response = HTTP_Contacts_Services(RemainingURL)
The meaning of the response value depends on the HTTP request. Responses are strictly for debugging purposes only since web service routines should be using the services in the HTTP_Service routine.
The remaining portion of the URL that follows the URL that launched this current service. If this is empty, it implies that the URL has reached the end point. See the remarks section below. Required.
Web services are designed to process HTTP requests. In order to do this properly, they need to have access to specific information such as the HTTP method, entry point URL, and end point, URL. These commonly needed data points are assigned to several variables in the HTTP_Service_Setup insert.
As of version 3.0.1 of the SRP HTTP Framework, this API has been updated to support all major CRUD functionality. It works against the sample CONTACTS database table that has also been included with this version.
The base URL for the API entry point (e.g., api.mysite.com/v1).
The URL submitted by the client.
The HTTP Method (Verb) submitted by the client (e.g., GET, POST, etc.)
The URL path representing the current service.
The URL segment immediately following the SelfURL (if any). This could contain the name of the next service or it could contain the Item ID for the current service (aka resource).
The name of the currently running BASIC+ stored procedure.