Create Post

METHOD

POST

URL EXAMPLE

/gistps/api/v1/post

REQUEST BODY

name

type

description

userId

long

μž‘μ„±ν•˜λŠ” μœ μ € id (μ„œλ²„μ— μ €μž₯된 id -숫자)

title

string

제λͺ©

description

string

λ‚΄μš©

category

string

μΉ΄ν…Œκ³ λ¦¬

REQUEST BODY EXAMPLE

{
    "userId" : 1,
    "title" : "κΈ°μˆ™μ‚¬ ~에 λŒ€ν•΄ κ±΄μ˜ν•©λ‹ˆλ‹€",
    "description" : "~ν•œ 문제 ν•΄κ²° λ°”λžλ‹ˆλ‹€",
    "category" : "λΆ„λ₯˜1"
}

RESPONSE BODY

type

description

Long

μƒμ„±λœ κ²Œμ‹œκΈ€μ˜ 고유 id

RESPONSE BODY EXAMPLE

4

Last updated