A good person
A good person

Reputation: 264

I want to send POST details from getPlainBody data

Peace I get data in the command:

function myFunction() {
  let from = GmailApp.search('xxx');
  var body = lastMessage.getPlainBody()
  Logger.log(body)
}

How can I send a POST to a particular address?

Because of my lesser English will help detail and examples

I'm sorry for the way I speak, I'm just translating

Thank you

Upvotes: 1

Views: 58

Answers (1)

Kyle Swecker
Kyle Swecker

Reputation: 46

You can send a POST request using UrlFetchApp.fetch(). See more information below.

https://developers.google.com/apps-script/reference/url-fetch/url-fetch-app

Upvotes: 2

Related Questions