Gmail REST api batch support for getting messages

Detection score: 6.5

<p>I tried the same thing but am getting 400 Bad Request</p>

<p>URL : <a href="https://www.googleapis.com/batch" rel="nofollow noreferrer">https://www.googleapis.com/batch</a>
Request Type : POST
Headers : 
1) Authorization=Bearer authoken
2) Content-Type=multipart-mixed; boundary="foo_bar"</p>

<p>Body Raw Data : </p>

<p>--foo_bar
Content-Type: application/http</p>

<p>GET /gmail/v1/users/me/messages/1618aa0bcf2fa854</p>

<p>--foo_bar</p>

<p>Content-Type: application/http</p>

<p>GET /gmail/v1/users/me/messages/16188b8e8175a5dd</p>

<p>--foo_bar--</p>

<p>Can any of you help me where am going wrong ?? </p>
Posted 11 days ago | reported 11 days ago
Posted by Manikandan (13)

Caught by 5 reasons: