🚰 Kitchen Sink
Get path variable
The API endpoint allows you to retrieve the path variable being supplied in the URL.
By accessing this endpoint, you can obtain the specific value provided as a path parameter in the URL.
This functionality is useful when you need to access and utilize the dynamic portion of the URL within your application or for further processing.
get/kitchen-sink/request/path-variable/{pathVariable}
Response
Get path variable
Example response
{
"data": {
"pathVariable": "123"
},
"message": "Path variables caught successfully",
"statusCode": 200,
"success": true
}