How to change info in table in google sheets

i use module google sheets, for get info.
i want know, how i can change info in table using script?

It’s been 3 hours I can’t find the answer, if you can help me I will be very grateful to you
Any help is helpful :slight_smile:

use HTTPService… yeah

It didn’t work for me
There is outdated information written there. Or am I doing something wrong?

Do you have Third Party APIs enabled in your game’s settings? If you do, then gimme a second to do some research

I need replace info only used HTTP service

1 Like

I mean Allow HTTP Requests in your game’s settings mb

Yea, i already enabled it. What i can do?

1 Like

Hm well just gimme a few minutes to do some research and I’ll reply when i have it

1 Like

Really sorry for the 3 hour wait cuz I was at school typing this and still am but I found sum stuff

and


But I’m pretty sure you just send a POST request here to this URL
https://sheets.googleapis.com/v4/spreadsheets/{spreadsheetId}/values/{range}:append

and you uh just go from there

also, I’m sure you add what you wanna post in the body section

-- EXAMPLE CODE
local url="toolazytotype"
local contentType = Http:RequestAsync({
   ["Url"] = url,
   ["Headers"] = {
      ["Content-Type"] = "application/type"
      ["Body"] = {
         ["values"] = {["Example"] = "Ex"}
      }
   },
})

and idk if the above works so yeah. Oh and if it does, make sure to check if the response was a success

1 Like

Its really helps me! Tysm for help!

1 Like

Ya sure? I’m not sure if u tried it cuz you responded kinda fast but maybe idk lol

I think you helped me anyway. You’re doing great!
I’m just starting to learn this and these links and your tips will help me a lot!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.