Я хочу добавить сообщение в блог Blogger через PHP. Google привел пример ниже. Как использовать это с PHP?
Вы можете добавить сообщение для блога, отправив запрос POST на сообщение URI коллекции с надписью JSON body:
POST https://www.googleapis.com/blogger/v3/blogs/8070105920543249955/posts/
Authorization: /* OAuth 2.0 token here */
Content-Type: application/json
{
"kind": "blogger#post",
"blog": {
"id": "8070105920543249955"
},
"title": "A new post",
"content": "With <b>exciting</b> content..."
}