curl --request POST \
--url http://localhost:4000/assets \
--header 'Content-Type: application/json' \
--header 'api_key: <api_key>' \
--data '{
"fractions": 123,
"name": "<string>",
"projectId": 123,
"symbol": "<string>"
}'
{
"created_at": "<string>",
"fractions": 123,
"id": "<string>",
"name": "<string>",
"owner": "<string>",
"symbol": "<string>",
"updated_at": "<string>"
}
curl --request POST \
--url http://localhost:4000/assets \
--header 'Content-Type: application/json' \
--header 'api_key: <api_key>' \
--data '{
"fractions": 123,
"name": "<string>",
"projectId": 123,
"symbol": "<string>"
}'
{
"created_at": "<string>",
"fractions": 123,
"id": "<string>",
"name": "<string>",
"owner": "<string>",
"symbol": "<string>",
"updated_at": "<string>"
}
Success response
The response is of type object
.