Thanks so much for this video. Just wanted to comment for anyone who is following along the video and editing files as you go. I think the video skips a step after moving the "return ContentService.createTextOutput(JSON.stringify(data,vals)).setMimeType(ContentService.MimeType.JSON) from output(e) to doGet and doPost. After moving it, you need to replace it in output(e) with return data.vals; I checked the github code when I couldn't figure out why it wasn't returning anything after creating output function. Thanks again
Thanks for the great video. I noticed the web hook link I used called doPost not doGet. I switched my function over and got my program working great! Something worth mentioning though imo.
I waw wondering : is there a way to use the doGet route to get HTML page from GAS, including a form to perform a POST request to a doPost method ? I'm currently facing an issue because of the different s the GAS returns along with HTML. Any workaround for that ?
Yes there are limits, typically you should avoid running scripts that take more than 5 minutes to process. Chunk them into separate operations. There are also limits to the various services. developers.google.com/apps-script/guides/services/quotas
There isn't direct way to tell how much of the packages are loaded, you may want to chunk it on the server end and use fetchAll or something similar which could be used to provide some more details.
Hi I need your help i have wordpress website and i’m using webba booking plugin for appointment is there any way that i can store appointment booking details automatically in sheet and it should be update automatically once customer book any appointment
Thanks so much for this video. Just wanted to comment for anyone who is following along the video and editing files as you go. I think the video skips a step after moving the "return ContentService.createTextOutput(JSON.stringify(data,vals)).setMimeType(ContentService.MimeType.JSON) from output(e) to doGet and doPost. After moving it, you need to replace it in output(e) with return data.vals; I checked the github code when I couldn't figure out why it wasn't returning anything after creating output function. Thanks again
you literally saved me!! This thing was driving me crazy for real. thanks!!
Glad I could help!
Thank you very much, this helped me a lot with my project 🙌
Thank you, very clear and easy understand.
Glad it was helpful!
great video Laurence - very detailed and very helpfull! Have a good day man
Glad it helped!
Thanks for the great video. I noticed the web hook link I used called doPost not doGet. I switched my function over and got my program working great! Something worth mentioning though imo.
Thanks for the info! Yes for the webhook it needs the doPost() doGet() is just easier to demonstrate and test.
Laurence delivers the best as always
Thank you for your support please subscribe and share this channel
I waw wondering : is there a way to use the doGet route to get HTML page from GAS, including a form to perform a POST request to a doPost method ? I'm currently facing an issue because of the different s the GAS returns along with HTML. Any workaround for that ?
Great video. I'm having an issue: It's printing 'data' as "json() { [native code] }" after the get request. What am I missing?
Are you outputting it a string version of the data object JSON.strinigify()
Very cool.
Thanks.
Thank you for your support please subscribe and share this channel
Is there a limitation in the request? like a quotas in App Scripts?
Yes there are limits, typically you should avoid running scripts that take more than 5 minutes to process. Chunk them into separate operations. There are also limits to the various services. developers.google.com/apps-script/guides/services/quotas
I use it to connect and retrieve allot of data from an API. How would you do the spinning wheel or something to let the user know it's getting there?
There isn't direct way to tell how much of the packages are loaded, you may want to chunk it on the server end and use fetchAll or something similar which could be used to provide some more details.
Hi I need your help i have wordpress website and i’m using webba booking plugin for appointment is there any way that i can store appointment booking details automatically in sheet and it should be update automatically once customer book any appointment
Hello, I am using my web server and it gives me a CORS error. that could be happening?
thank you
I known how to fix this
in this moment 12:07 i get string in browser
{"contentLength":-1,"parameter":{},"contextPath":"","parameters":{},"queryString":""}
not
id= 1000
why?
there is not request value
Exception: Login information disallowed: may i know why it it showing, i wrote rest api
TypeError: Cannot read properties of undefined (reading 'parameter')
doGet .need help with this error.
when does the error occur, there is no value in the parameter
how to post bulk data to google sheet? Please
You could use a webapp and POST to that which can be used from a website, or web app.
please, how to send a list in a url without htmltemplate?
Please connect with me on my website and I can provide additional contact information for someone that can assist you. basescripts.com/contact
error : Script function not found: doGet
Doesn't work in fetch API. Curse cors.
I known how to fix this
Helppp :(
Thanks for watching
I am using appscript web app doGet and facing CORS related issuse. How to configure CORS in app script project?
CORS is usually a script error, simplify the code until you can connect
Create new deployment and then update the URL in all of your code. It looks "old" deployments generate this CORS issue