Create a user login

API

Get Cakes

GET https://api.cakes.com/v1/cakes/:id

This endpoint allows you to get free cakes.

Path Parameters

NameTypeDescription

emailUsername

string

Email

Query Parameters

NameTypeDescription

recipe

string

The API will do its best to find a cake matching the provided recipe.

gluten

boolean

Whether the cake should be gluten-free or not.

Headers

NameTypeDescription

Authentication

string

Authentication token to track down who is emptying our stocks.

{    "name": "Cake's name",    "recipe": "Cake's recipe name",    "cake": "Binary cake"}

Last updated