Antwort von Jan
Antwort des Entwicklers
geschrieben am vor 8 JahrenHi, 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
108 Bewertungen
- Bewertet mit 5 von 5 Sternenvon Daniel V. Lenskiy, vor 3 Monaten
- Bewertet mit 5 von 5 Sternenvon Seän "frostbyte" Shepherd, vor 7 Monaten
- Bewertet mit 5 von 5 Sternenvon Firefox-Benutzer 19010092, vor einem Jahr
- Bewertet mit 5 von 5 Sternenvon Firefox-Benutzer 17436936, vor 2 Jahren
- Bewertet mit 5 von 5 Sternenvon msajadi832, vor 2 Jahren
- Bewertet mit 5 von 5 Sternenvon Firefox-Benutzer 15313516, vor 2 Jahren
- Bewertet mit 5 von 5 Sternenvon Firefox-Benutzer 18253713, vor 2 Jahren
- Bewertet mit 4 von 5 Sternenvon Олексій, vor 2 JahrenOkay, but the JSON response fields containing text in Russian are displayed as strange characters.
- Bewertet mit 5 von 5 Sternenvon Firefox-Benutzer 18115635, vor 3 Jahren
- Bewertet mit 5 von 5 Sternenvon Erick, vor 3 Jahren
- Bewertet mit 5 von 5 Sternenvon Miguel Conde, vor 3 Jahren
- Bewertet mit 5 von 5 Sternenvon Firefox-Benutzer 12924248, vor 4 Jahren
- Bewertet mit 5 von 5 Sternenvon harl windwolf, vor 4 JahrenExcellent 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!
- Bewertet mit 5 von 5 Sternenvon felipecontrerass, vor 4 Jahren
- Bewertet mit 5 von 5 Sternenvon Firefox-Benutzer 14678933, vor 4 Jahren
- Bewertet mit 4 von 5 Sternenvon Firefox-Benutzer 17505828, vor 4 JahrenI 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 (?)Antwort des Entwicklers
geschrieben am vor 4 JahrenSorry 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? - Bewertet mit 5 von 5 Sternenvon Xenthys, vor 4 Jahren
- Bewertet mit 5 von 5 Sternenvon Firefox-Benutzer 17444643, vor 4 Jahren
- Bewertet mit 5 von 5 Sternenvon Roma657, vor 4 Jahren
- Bewertet mit 5 von 5 Sternenvon Mahdi Magroun, vor 4 Jahren