Recipe 101
server test
GET
https://server.recipe101.net/
This endpoint allows you to get free cakes.
signout
GET
https://server.recipe101.net/signout
get recipe info
GET
https://server.recipe101.net/recipe/:id
Path Parameters
Name | Type | Description |
---|---|---|
:id | integer | food_id |
get userinfo
GET
https://server.recipe101.net/user
Headers
Name | Type | Description |
---|---|---|
authorization | string | access token |
get subscribed users
GET
https://server.recipe101.net/subscribe/:username
Path Parameters
Name | Type | Description |
---|---|---|
:username | string | username |
Headers
Name | Type | Description |
---|---|---|
authorization | string | access token |
get stored recipes
GET
https://server.recipe101.net/store
Headers
Name | Type | Description |
---|---|---|
authorization | string | access token |
get comment by username
GET
https://server.recipe101.net/comment/user/:username
Path Parameters
Name | Type | Description |
---|---|---|
:username | string | username |
get comments by food_id
GET
https://server.recipe101.net/comment/food/:id
Path Parameters
Name | Type | Description |
---|---|---|
:id | integer | food_id |
search recipe using user name
GET
https://server.recipe101.net/search/username/:username
Path Parameters
Name | Type | Description |
---|---|---|
:username | string | username |
search recipe using food name
GET
https://server.recipe101.net/search/foodname/:foodname
Path Parameters
Name | Type | Description |
---|---|---|
:foodname | string | food_name |
search recipe using item name
GET
https://server.recipe101.net/search/itemname/:itemname&itemname1
Path Parameters
Name | Type | Description |
---|---|---|
:itemname | string | item_name |
&itemname1 | string | additional item_name |
social signin (kakao)
GET
https://server.recipe101.net/kakao
Request Body
Name | Type | Description |
---|---|---|
code | string | authorization_code |
get image
GET
https://server.recipe101.net/image/:name
Path Parameters
Name | Type | Description |
---|---|---|
name | string | image name |
recently recipe
GET
https://server.recipe101.net/recent/:num
Path Parameters
Name | Type | Description |
---|---|---|
num | number | number of recipes |
recommend recipe
GET
https://server.recipe101.net/recommend/:num
Path Parameters
Name | Type | Description |
---|---|---|
num | number | number of recipes |
signin
POST
https://server.recipe101.net/signin
Request Body
Name | Type | Description |
---|---|---|
username | string | username |
password | string | password |
signup
POST
https://server.recipe101.net/signup
Request Body
Name | Type | Description |
---|---|---|
userName | string | |
password | string | |
string | ||
phone | string | |
userImage | string | userimage |
add recipe
POST
https://server.recipe101.net/recipe
Headers
Name | Type | Description |
---|---|---|
authorization | string | access token |
Request Body
Name | Type | Description |
---|---|---|
Food_info | object | cook information include: {foodName, summary, nation, type,cookingTime, calorie, qnt, level} |
Ingredients | array | Ingredients for cook include: {name, type, cap} |
Recipe | array | how to cook describe step by step include: {cookingNo, cookingDc, stepTip} |
foodImage | string | foodimage |
stepImage | string | stepimages |
password check
POST
https://server.recipe101.net/password
Headers
Name | Type | Description |
---|---|---|
authorization | string | access token |
Request Body
Name | Type | Description |
---|---|---|
password | string | password |
add subscribe
POST
https://server.recipe101.net/subscribe
Headers
Name | Type | Description |
---|---|---|
authorization | string | access token |
Request Body
Name | Type | Description |
---|---|---|
username | string | username |
store recipe
POST
https://server.recipe101.net/store
Headers
Name | Type | Description |
---|---|---|
authorization | string | access token |
Request Body
Name | Type | Description |
---|---|---|
id | integer | food_id |
create comment
POST
https://server.recipe101.net/comment
Headers
Name | Type | Description |
---|---|---|
authorization | string | access token |
Request Body
Name | Type | Description |
---|---|---|
id | integer | food_id |
userName | string | username |
comment | string | comment text |
score | number | score |
update recipe info
PATCH
https://server.recipe101.net/recipe/:id
Path Parameters
Name | Type | Description |
---|---|---|
id | string | update recipe id |
Headers
Name | Type | Description |
---|---|---|
authorization | string | access token |
Request Body
Name | Type | Description |
---|---|---|
Food_info | object | cook information include: {food_name, summary, nation, type,cooking_time, calorie, qnt, level, (option):food_img} |
Ingredients | array | Ingredients for cook include: {name, type, cap} |
Recipe | array | how to cook describe step by step include: {cooking_no, cooking_dc (option): step_image, step_tip} |
foodImage | string | foodimage |
stepImage | string | stepimages |
update userinfo
PATCH
https://server.recipe101.net/user
Headers
Name | Type | Description |
---|---|---|
authorization | string | access token |
Request Body
Name | Type | Description |
---|---|---|
userName | string | |
string | ||
phone | string | |
userImage | string | userimage |
password update
PATCH
https://server.recipe101.net/password
Headers
Name | Type | Description |
---|---|---|
authorization | string | access token |
Request Body
Name | Type | Description |
---|---|---|
password | string | new password |
update comment
PATCH
https://server.recipe101.net/comment/:id
Path Parameters
Name | Type | Description |
---|---|---|
id | integer | comment id |
Headers
Name | Type | Description |
---|---|---|
authorization | string | access token |
Request Body
Name | Type | Description |
---|---|---|
comment | string | comment text |
score | number | recipe score |
delete recipe
DELETE
https://server.recipe101.net/recipe/:id
Path Parameters
Name | Type | Description |
---|---|---|
:id | integer | food_id |
Headers
Name | Type | Description |
---|---|---|
authorization | string | access token |
delete user
DELETE
https://server.recipe101.net/user
Headers
Name | Type | Description |
---|---|---|
authorization | string | access token |
Cancel subscription
DELETE
https://server.recipe101.net/subscribe/:name
Path Parameters
Name | Type | Description |
---|---|---|
name | string | userName |
Headers
Name | Type | Description |
---|---|---|
authorization | string | access token |
remove stored recipe
DELETE
https://server.recipe101.net/store
Path Parameters
Name | Type | Description |
---|---|---|
food_id | string | food_id |
Headers
Name | Type | Description |
---|---|---|
authorization | string | access token |
remove comment
DELETE
https://server.recipe101.net/comment/:id
Path Parameters
Name | Type | Description |
---|---|---|
id | integer | comment id |
Headers
Name | Type | Description |
---|---|---|
authorization | string | acess token |
Last updated