cURL
curl --request POST \ --url https://maas-alpha.vercel.app/api/meows \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "<string>", "breed": "<string>", "image": "<string>", "personality": "Playful" }'
{ "message": "<string>", "data": { "id": "<string>", "name": "<string>", "breed": "<string>", "image": "<string>", "personality": "Playful", "owner_id": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Playful
Calm
Bold
Affectionate
Energetic
Gentle
Curious
Confident
Friendly
Mysterious
Image url of the cat. you can also upload a image of a cat see the /add-image api.
Resource created successfully
Show child attributes