Example URLs

Your main url like this: https://script.google.com/.../exec

We use the action parameter to add, delete, read, list and update data.

  • For add:

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

https://script.google.com/.../exec?action=delete
  • For read:

https://script.google.com/.../exec?action=read
  • For list:

https://script.google.com/.../exec?action=list
  • For update:

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

Add a data

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

Look your sheet result:

123456789

Hello

World

987654321

Second

Line

Remove a data

https://script.google.com/.../exec?action=delete&id=987654321

Look your sheet result:

123456789

Hello

World

Update a data

https://script.google.com/.../exec?action=update&id=123456&data=Hi

Look your sheet result:

123456789

Hi

World