How to update a draft post?
Sun Changming <[email protected]>
| Newsgroups | gmane.comp.web.blogger.api |
|---|---|
| Message-ID | <[email protected]> |
Hi,
Need help! I tried to update a draft's content via REST API, it always
gives me a 404 error.
Request:
PATCH https://www.googleapis.com/blogger/v3/blogs/22222222222/posts/3333333333333?key={YOUR_API_KEY}
{
"content": "dddd"
}
Response:
{
"error": {
"errors": [
{
"domain": "global",
"reason": "notFound",
"message": "Not Found"
}
],
"code": 404,
"message": "Not Found"
}
}
I'm sure the blog ID and post ID are correct. Need I set the view to
'ADMIN'?
Thanks.
--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/bloggerdev.
For more options, visit https://groups.google.com/d/optout.