curl --request POST \
--url https://commerce.driv.ly/api/logs \
--header 'Content-Type: application/json' \
--data '{
"id": "<string>",
"title": "<string>",
"trace": "<string>",
"requestBody": {},
"path": "<string>",
"method": "<string>",
"ipAddress": "<string>",
"userAgent": "<string>",
"status": "<string>",
"responseBody": {},
"responseHeaders": [
{
"key": "<string>",
"value": "<string>"
}
],
"requestHeaders": [
{
"key": "<string>",
"value": "<string>"
}
]
}'
{
"data": {
"id": "<string>",
"title": "<string>",
"trace": "<string>",
"requestBody": {},
"path": "<string>",
"method": "<string>",
"ipAddress": "<string>",
"userAgent": "<string>",
"status": "<string>",
"responseBody": {},
"responseHeaders": [
{
"key": "<string>",
"value": "<string>"
}
],
"requestHeaders": [
{
"key": "<string>",
"value": "<string>"
}
]
},
"success": true
}
curl --request POST \
--url https://commerce.driv.ly/api/logs \
--header 'Content-Type: application/json' \
--data '{
"id": "<string>",
"title": "<string>",
"trace": "<string>",
"requestBody": {},
"path": "<string>",
"method": "<string>",
"ipAddress": "<string>",
"userAgent": "<string>",
"status": "<string>",
"responseBody": {},
"responseHeaders": [
{
"key": "<string>",
"value": "<string>"
}
],
"requestHeaders": [
{
"key": "<string>",
"value": "<string>"
}
]
}'
{
"data": {
"id": "<string>",
"title": "<string>",
"trace": "<string>",
"requestBody": {},
"path": "<string>",
"method": "<string>",
"ipAddress": "<string>",
"userAgent": "<string>",
"status": "<string>",
"responseBody": {},
"responseHeaders": [
{
"key": "<string>",
"value": "<string>"
}
],
"requestHeaders": [
{
"key": "<string>",
"value": "<string>"
}
]
},
"success": true
}
The number of levels of related objects to include in the response
Log Created
The response is of type object
.