Add Action

Adds a new row to the table.

Base URL

https://script.google.com/.../exec?action=add

Parameters

data

Require | Data to add to the table.

https://script.google.com/.../exec?action=add&data=Hello,World

id

Optional | The ID value is entered automatically, you can add it instead.

https://script.google.com/.../exec?action=add&data=Hello,Word&id=myID1

If you have a column name in table, you can add the data via post request as JSON. (Read: Guide/Named Columns)

{
  "data": ["Hello", "World"]
}

Returns

status : Boolean - True if it is successful.

id : String - With what id the data was added.

message: String - If status is false, it is added instead of data and contains an error message.

{
  "status": true,
  "id": 1
}