How to Post in tumblr

121 views
Skip to first unread message

Nahush Shrestha

unread,
Apr 6, 2017, 3:58:59 AM4/6/17
to Tumblr API Discussion


api.tumblr.com/v2/blog/{blog-identifier}/post
{
"type":"text",
"body":"This is test"
}


it says 
{
  "meta": {
    "status": 400,
    "msg": "Bad Request"
  },
  "response": {
    "errors": [
      "Post cannot be empty."
    ]
  }
}
 when i try to post something from postman. 
what is the solution for this
.
Auto Generated Inline Image 1

Michael Ceyko

unread,
Apr 6, 2017, 1:04:21 PM4/6/17
to Tumblr API Discussion
Hi Nahush,

We don't currently accept JSON bodies, so that's why you're getting an error currently.

Try changing the Body in Postman to x-www-form-urlencoded. If you add the `type` and `body` there it should work properly.

Regards,
Mike Ceyko

Nahush Shrestha

unread,
Apr 9, 2017, 4:00:50 AM4/9/17
to Tumblr API Discussion

Thanks, Michael.
Reply all
Reply to author
Forward
0 new messages