Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: How do you use "ajax" with "POST" instead of "GET" #4

Closed
serge-hulne opened this issue Sep 20, 2021 · 1 comment · Fixed by #6
Closed

Question: How do you use "ajax" with "POST" instead of "GET" #4

serge-hulne opened this issue Sep 20, 2021 · 1 comment · Fixed by #6

Comments

@serge-hulne
Copy link

  • How do you use "ajax" with "POST" instead of "GET"
  • Apparently merely substituting "GET" with "POST" in the examples is not enough.
@stisa
Copy link
Owner

stisa commented Oct 11, 2021

This should work the same as js (e.g. https://stackoverflow.com/questions/6396101/pure-javascript-send-post-data-without-a-form ), just changing GET to POST won't work.

Sorry, I've been a little busy, I'll check this and make an example when I have some free time

stisa added a commit that referenced this issue Oct 28, 2021
@stisa stisa linked a pull request Oct 28, 2021 that will close this issue
@stisa stisa closed this as completed in #6 Oct 28, 2021
stisa added a commit that referenced this issue Oct 28, 2021
add minimal example for #4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants