cURL
curl --request POST \ --url https://api.lunary.ai/v1/test-endpoint \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{}'
{ "message": "<string>", "receivedAt": "2023-11-07T05:31:56Z", "echo": {}, "headers": {}, "method": "<string>" }
A public endpoint that echoes back the request data for testing the playground custom API feature
Use a project public API key via Authorization: Bearer <key>.
Authorization: Bearer <key>
The body is of type object.
object
Successful response with echoed data
Success message
When the request was received
The request data echoed back
Request headers received
HTTP method used