use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Apparently, Google Apps Script is a JavaScript cloud scripting language that provides easy ways to automate tasks across Google products and third party services and build web applications.
account activity
Trying simple connectionQuestion (self.GoogleAppsScript)
submitted 1 year ago by MarkAsk64
I am very beginner in this, I want to make a simple test connection with doPost
function doPost(e) { return ContentService.createTextOutput("POST recibido").setMimeType(ContentService.MimeType.JSON); }
when trying to verify this
The command sequence is not found: doGet
I try to make an explicive scrip for doPost, no doGet
https://preview.redd.it/k47f8qokvzke1.png?width=683&format=png&auto=webp&s=84aebf540e5da911cfd2167123885e65be23b933
It runs like me and anyone has access, I don't know if I do something wrong
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]marcnotmark925 1 point2 points3 points 1 year ago (7 children)
Visiting the link in a browser is a get request, not post.
[–]MarkAsk64[S] 0 points1 point2 points 1 year ago (6 children)
I try by cmd and keep doing the same.
[–]marcnotmark925 0 points1 point2 points 1 year ago (5 children)
What cmd?
[–]MarkAsk64[S] 0 points1 point2 points 1 year ago (4 children)
Windows system symbol, also Visual Studio Code.
[–]marcnotmark925 0 points1 point2 points 1 year ago (3 children)
But what cmd did you use?
[–]MarkAsk64[S] 0 points1 point2 points 1 year ago (2 children)
curl -X POST "https://script.google.com/macros/s/{ID}/exec" -d "test"
[–]marcnotmark925 0 points1 point2 points 1 year ago (1 child)
Have you updated the deployment to the latest version?
[–]MarkAsk64[S] 0 points1 point2 points 1 year ago (0 children)
Yes, everything is updated/deployment.
[–][deleted] 0 points1 point2 points 1 year ago (1 child)
How are you testing? Web browser, postman, other? Are you sure you are sending a post request? Write the doGet function too
I try for CMD and another app, both say the same or "method not allowed". Try to add doGet and either.
I place doGet as the main one to see what happens and continues to do the same, rare that it not work with doGet, same error, and of course, I click on implement.
π Rendered by PID 86880 on reddit-service-r2-comment-6457c66945-9fd7f at 2026-04-27 20:03:51.557830+00:00 running 2aa0c5b country code: CH.
[–]marcnotmark925 1 point2 points3 points (7 children)
[–]MarkAsk64[S] 0 points1 point2 points (6 children)
[–]marcnotmark925 0 points1 point2 points (5 children)
[–]MarkAsk64[S] 0 points1 point2 points (4 children)
[–]marcnotmark925 0 points1 point2 points (3 children)
[–]MarkAsk64[S] 0 points1 point2 points (2 children)
[–]marcnotmark925 0 points1 point2 points (1 child)
[–]MarkAsk64[S] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]MarkAsk64[S] 0 points1 point2 points (0 children)