ajax - How do I send a cross-domain POST request via JavaScript?

Опубликовано: 15 Октябрь 2024
на канале: Code Samples
48
1

How do I send a cross-domain POST request via JavaScript?
Notes - it shouldn't refresh the page, and I need to grab and parse the response afterwards.
web.dev tutorial: https://web.dev/cross-origin-resource...
HTTP access control: https://developer.mozilla.org/en/http...
here: http://bugs.jquery.com/ticket/7868#co...