Tampermonkey / tampermonkey

Tampermonkey is the most popular userscript manager, with over 10 million users. It's available for Chrome, Microsoft Edge, Safari, Opera Next, and Firefox.
GNU General Public License v3.0
4.37k stars 428 forks source link

Documentation for GM_xmlhttpRequest does not include all supported HTTP methods #2239

Closed bdr99 closed 1 day ago

bdr99 commented 2 weeks ago

The documentation for GM_xmlhttpRequest lists GET, HEAD, and POST as the only values that can be passed in for the method property. But other methods like PUT and DELETE seem to work fine. Can this documentation be updated so it doesn't state that GET, HEAD, and POST are the only compatible methods?

Expected Behavior

Documentation should list all possible methods.

Actual Behavior

Documentation only lists GET, HEAD, and POST.

Specifications

N/A - documentation issue

Script

N/A - documentation issue

derjanb commented 1 day ago

Fixed. Thanks for reporting.