curl --request POST \
--url http://localhost:3004/v1/targets/{projectId} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"name": "<string>",
"url": "<string>",
"method": "POST",
"description": "<string>",
"enabled": true,
"config": {
"timeout": 5000,
"retryCount": 3
},
"customHeaders": {}
}
'