π° 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}
Request
- Base URLhttps://api.freeapi.app/api/v1
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Get path variable
Example response
{
"data": {
"pathVariable": "123"
},
"message": "Path variables caught successfully",
"statusCode": 200,
"success": true
}Changes
No recorded changes to this operation across all 1 revision of this API.