Gmail REST api batch support for getting messages

后端 未结 3 1641
深忆病人
深忆病人 2020-12-11 19:11

We need to switch from google client library to Gmail REST api in our project, and I\'ve encountered a problem with batch() because it is not available in REST api - you can

3条回答
  •  离开以前
    2020-12-11 19:49

    Just wanted to say that Lucila's answer is now the correct one - the global (https://www.googleapis.com/batch) endpoint is now deprecated, and you must make a post request to your request-specific endpoint (https://www.googleapis.com/batch/gmail/v1 for gmail, for instance).

    See this link for additional context.

    Apologies for making a new answer for this, I don't have enough reputation to leave a comment.

提交回复
热议问题