Troubleshooting
Get Cakes
GET
https://api.cakes.com/v1/cakes/:id
This endpoint allows you to get free cakes.
Path Parameters
Name
Type
Description
id
boolean
ID of the cake to get, for free of course.
Query Parameters
Name
Type
Description
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
Name
Type
Description
Authentication
string
Authentication token to track down who is emptying our stocks.
{
"name": "Cake's name",
"recipe": "Cake's recipe name",
"cake": "Binary cake"
}
Git trouble-shooting
Filename being too long
$ git reset HEAD --hard
error: unable to create file src/metaComponents/cm/System/ResourceAccounting/ResourceAccounting.Oper/ResourceAccounting.Oper.PartitionResource/ResourceAccountingOper.Oper.ResType/ResourceAccountingOperOper.Oper.Resources/ResourceAccountingOperOper.Oper.Resources.gen.tsx: Filename too long
fatal: Could not reset index file to revision 'HEAD'.
Solution - run the following command:
git config --system core.longpaths true
Please note that you may need sudo
privilege to run it.
$ git config --system core.longpaths true
error: could not lock config file C:\Program Files\Git\mingw64/etc/gitconfig: Permission denied
If you see such message above in Windows, run cmd
with system admin role.
Last updated
Was this helpful?