Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

All systems need an entry, or starting, point. For character based system this is often a command prompt or text-based menu. For GUI systems this is often a form. For user accessible websites this is the home page. Application APIs, likewise, have an entry point. One could argue that HTTP_MCP is the entry point for the SRP HTTP Framework, but this is more accurately the Controller. As such it behaves as a conduit into the entry point. HTTP_Entry_Point_Services is the default entry point for the SRP HTTP Framework. This can be renamed but this change will also need to be updated in HTTP_Service_Setup and all routines that include this insert will need to be recompiled. HTTP_Entry_Point_Services is best treated as a top-level menu. This is where the main features of the API are accessed from. Then the various application specific services are created and operate like drop down menu items, either serving as access points to other services or acting as end point services themselves.

...

Parameters

ParameterDescription
RemaiiningURLRemainingURL

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.

Remarks

All API URLs will begin with the entry point web service. By default this is HTTP_Entry_Point_Services, but this is officially configured in the Entry Point Service attribute in the SRP_HTTP_FRAMEWORK_SETUP configuration record.

...