comment

post comment

POST https://muggerbar.ml/comment

Headers

Name
Type
Description

Authentication

string

JWT

Request Body

Name
Type
Description

recipe_id

string

comment_content

string

{ 
  data: { 
    comment : { 
        "id": 1,
        "user_id" : 1,
        "recipe_id" : 1,
        "comment_content" : "kimtest code states apple", 
        "createdAt" : "2021-10-6T14:52:03.000Z" ,
        "updatedAt" : "2021-10-6T14:52:03.000Z" ,
      }
  },
  message: "ok"
}

GET https://muggerbar.ml/comment

Query Parameters

Name
Type
Description

recipe_id

string

Last updated

Was this helpful?