sitemule / ILEastic

Embedded application server for ILE on IBM i
Apache License 2.0
58 stars 29 forks source link

Get part of resource path #33

Closed m1h43l closed 4 years ago

m1h43l commented 5 years ago

At the moment you can only get the full resource path, f. e. /api/book/ean/1234567890123 In many cases I need to get a specific part of the resources.

API suggestion: il_getResourcePart(request : 4) to get the fourth part of the resource path which would return 1234567890123 in this example.

m1h43l commented 5 years ago

Or to be more in line with the rest of the api perhaps il_getRequestResourcePart.