메인 콘텐츠로 건너뛰기
POST
/
plants
cURL
curl --request POST \
  --url http://sandbox.mintlify.com/plants \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "id": 123,
  "tag": "<string>"
}
'
{
  "name": "<string>",
  "tag": "<string>"
}

인증

Authorization
string
header
필수

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

본문

application/json

Plant to add to the store

name
string
필수

The name of the plant

id
integer<int64>
필수

Identification number of the plant

tag
string

Tag to specify the type

응답

plant response

name
string
필수

The name of the plant

tag
string

Tag to specify the type