# GET me

## Get Cakes

<mark style="color:blue;">`GET`</mark> `https://api.cakes.com/me`

This endpoint allows you to get free cakes.

#### Headers

| Name          | Type   | Description  |
| ------------- | ------ | ------------ |
| Authorization | string | bearer token |

{% tabs %}
{% tab title="200 Cake successfully retrieved." %}

```
{
     "email" : "email",
     "password" : "password",
     "user_name": "user's username",    
     "pets": [{id: pet id, name: pet name}],
     "created_at": "date and time of user id created"
}
```

{% endtab %}

{% tab title="404 Could not find a cake matching this query." %}

```
{    "message": "Cannot get my info"}
```

{% endtab %}
{% endtabs %}
