curl --request POST \
--url http://localhost:4000/projects \
--header 'Content-Type: application/json' \
--header 'api_key: <api_key>' \
--data '{
"asset_id": "<string>",
"exchangeRate": 123,
"metadata": {},
"name": "<string>",
"supportExchangeRate": true,
"type": "<string>"
}'
{
"asset_id": "<string>",
"created_at": "<string>",
"exchangeRate": 123,
"id": 123,
"metadata": {},
"name": "<string>",
"owner": "<string>",
"supportExchangeRate": true,
"type": "loyalty",
"updated_at": "<string>"
}
curl --request POST \
--url http://localhost:4000/projects \
--header 'Content-Type: application/json' \
--header 'api_key: <api_key>' \
--data '{
"asset_id": "<string>",
"exchangeRate": 123,
"metadata": {},
"name": "<string>",
"supportExchangeRate": true,
"type": "<string>"
}'
{
"asset_id": "<string>",
"created_at": "<string>",
"exchangeRate": 123,
"id": 123,
"metadata": {},
"name": "<string>",
"owner": "<string>",
"supportExchangeRate": true,
"type": "loyalty",
"updated_at": "<string>"
}
Success response
The response is of type object
.