Re: Update post with Blogger API using PATCH semantic
Brett Morgan <[email protected]>
| Newsgroups | gmane.comp.web.blogger.api |
|---|---|
| Message-ID | <CAAFdGSeFtsWapjKqdGpB=jQwEBOzAq0MYSGct7vEie5B5Fmrog@mail.gmail.com> |
Heya, if you look at the sample java code I wrote on the documentation page you will see I add the post id to the body as well as the URL. Can you try adding the post id to your json body content and see if it helps? brett On Mon, Aug 26, 2013 at 8:12 PM, calichin <[email protected]> wrote: > > 1. > > I can add post to blogger using https://www.googleapis.com/blogger/v3 > API. > 2. > > Now, I want update post using PATCH semantic > 3. > > But, I get 401 unauthorized message error. > 4. > > I'm using same credentials with OAuth that add post (1) when update > same post using PATCH semantic. > 5. > > JSon body is very simple: { "content": "testing" } > 6. > > I had used > https://developers.google.com/blogger/docs/3.0/reference/posts/patch testing > tool and all works OK. > 7. > > Could yo help me? > > -- > 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 http://groups.google.com/group/bloggerdev. > For more options, visit https://groups.google.com/groups/opt_out. > -- Brett Morgan | Developer Relations Engineer, Google Maps | [email protected] | profiles.google.com/brettmorgan -- 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 http://groups.google.com/group/bloggerdev. For more options, visit https://groups.google.com/groups/opt_out.