Procedures for getting path parts

Issue #12 resolved
Mihael Schmidt repo owner created an issue

Currently the user can get the whole path from the http message. But he should also be able to query parts of the path.

/mdm/item/12

Endpoint registration:

/mdm/item/{id}

The user is probably interested in the queried item id 12 in this case.

droplet_service_getLastPathSegment(path);

or

droplet_service_getLastPathSegment(message);

Accessing the path by index:

droplet_service_getPathSegment(message : index);

Accessing path by variable name:

droplet_service_getPathSegmentByName(message : variable_name);

Comments (7)

  1. Mihael Schmidt reporter

    Getting path segment by name/id will be postponed till variables in endpoint urls are supported.

  2. Log in to comment