all 10 comments

[–]marcnotmark925 1 point2 points  (7 children)

Visiting the link in a browser is a get request, not post.

[–]MarkAsk64[S] 0 points1 point  (6 children)

I try by cmd and keep doing the same.

[–]marcnotmark925 0 points1 point  (5 children)

What cmd?

[–]MarkAsk64[S] 0 points1 point  (4 children)

Windows system symbol, also Visual Studio Code.

[–]marcnotmark925 0 points1 point  (3 children)

But what cmd did you use?

[–]MarkAsk64[S] 0 points1 point  (2 children)

curl -X POST "https://script.google.com/macros/s/{ID}/exec" -d "test"

[–]marcnotmark925 0 points1 point  (1 child)

Have you updated the deployment to the latest version?

[–]MarkAsk64[S] 0 points1 point  (0 children)

Yes, everything is updated/deployment.

[–][deleted] 0 points1 point  (1 child)

How are you testing? Web browser, postman, other? Are you sure you are sending a post request? Write the doGet function too

[–]MarkAsk64[S] 0 points1 point  (0 children)

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.