Response by Jan
Developer response
posted 7 years agoHi, thanks for taking the time to dig into this issue. Unfortunately it is by design and there is no way to fix it (that I know of).
RESTer is a browser extension and the browser provides two ways of sending HTTP requests:
1. XMLHttpRequest: This ignores any specified body and sets it to null when the method is GET or HEAD.
2. fetch: This throws a TypeError when you specifiy a body and the method is GET or HEAD.
Browsers have good reason to do so. While, according to the HTTP/1.1 spec, you are allowed to send a request body with a GET or HEAD request, the server is advised to ignore the body when handling the request. See here for a good explanation:
https://stackoverflow.com/a/983458/1798215
That said, if you have ideas on how to handle this better, please let me know. I am definitely open to suggestions. Post them on GitHub or send me an email:
https://github.com/frigus02/RESTer/issues
RESTer is a browser extension and the browser provides two ways of sending HTTP requests:
1. XMLHttpRequest: This ignores any specified body and sets it to null when the method is GET or HEAD.
2. fetch: This throws a TypeError when you specifiy a body and the method is GET or HEAD.
Browsers have good reason to do so. While, according to the HTTP/1.1 spec, you are allowed to send a request body with a GET or HEAD request, the server is advised to ignore the body when handling the request. See here for a good explanation:
https://stackoverflow.com/a/983458/1798215
That said, if you have ideas on how to handle this better, please let me know. I am definitely open to suggestions. Post them on GitHub or send me an email:
https://github.com/frigus02/RESTer/issues
104 reviews
- Rated 5 out of 5by Firefox user 17436936, 2 months ago
- Rated 5 out of 5by msajadi832, 8 months ago
- Rated 5 out of 5by Firefox user 15313516, 8 months ago
- Rated 5 out of 5by Firefox user 18253713, a year ago
- Rated 4 out of 5by Олексій, a year agoOkay, but the JSON response fields containing text in Russian are displayed as strange characters.
- Rated 5 out of 5by Firefox user 18115635, a year ago
- Rated 5 out of 5by Erick, 2 years ago
- Rated 5 out of 5by Miguel Conde, 2 years ago
- Rated 5 out of 5by Firefox user 12924248, 2 years ago
- Rated 5 out of 5by harl windwolf, 2 years agoExcellent add-on functionality, does exactly what I expected. Also, excellent description concerning its permissions, which provides the transparency that I'd wish to see with every add-on. Danke!
- Rated 5 out of 5by felipecontrerass, 3 years ago
- Rated 5 out of 5by Firefox user 14678933, 3 years ago
- Rated 4 out of 5by Firefox user 17505828, 3 years agoI cannot install the add-on in Firefox (v103, Win 10 64bit).
I am installing from add-ons in firefox but it says "Installation aborted because the add-on is corrupted" and "This add-on is not actively monitored for security by Mozilla. Make sure you trust it before installing it."
while it is strange that on win8 32bit installed without a problem (?)Developer response
posted 3 years agoSorry for the late reply. I can't reproduce the issue, either. My best guess is that the file may got corrupted during download. Do you see the same issue after restarting Firefox? - Rated 5 out of 5by Xenthys, 3 years ago
- Rated 5 out of 5by Firefox user 17444643, 3 years ago
- Rated 5 out of 5by Roma657, 3 years ago
- Rated 5 out of 5by Mahdi Magroun, 3 years ago
- Rated 5 out of 5by Cyrille37, 3 years ago
- Rated 5 out of 5by Firefox user 13329218, 3 years ago
- Rated 5 out of 5by Oleg Kyiashko, 3 years ago