Get started now
GET

Get post by slug

https://yourdomain.com/api/v1/post/:slug

Headers

KeyValueDescription
Content-Typeapplication/json

Params

FieldsTypeDescriptionRequired
slugStringPost slugtrue

Example

https://yourdomain.com/api/v1/post/allow-user-to-upload-image-from-cloud

Response

FieldsTypeDescription
status.codeIntegerResponse code from server
status.typeStringResponse status type (success/fail)
postsObjectPost data

You can see post data object in createPost.

Example

{
  "status": {
    "code": 200,
    "type": "success"
  },
  "post": {
    // post data oboject
  }
}