Svar frå Jan
Svar frå utviklaren
posta 8 år sidanHi, 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
105 vurderingar
- Vurdering: 5 av 5av Firefox user 19010092, 4 månader sidan
- Vurdering: 5 av 5av Firefox user 17436936, 10 månader sidan
- Vurdering: 5 av 5av msajadi832, eit år sidan
- Vurdering: 5 av 5av Firefox user 15313516, eit år sidan
- Vurdering: 5 av 5av Firefox user 18253713, 2 år sidan
- Vurdering: 4 av 5av Олексій, 2 år sidanOkay, but the JSON response fields containing text in Russian are displayed as strange characters.
- Vurdering: 5 av 5av Firefox user 18115635, 2 år sidan
- Vurdering: 5 av 5av Erick, 2 år sidan
- Vurdering: 5 av 5av Miguel Conde, 3 år sidan
- Vurdering: 5 av 5av Firefox user 12924248, 3 år sidan
- Vurdering: 5 av 5av harl windwolf, 3 år sidanExcellent 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!
- Vurdering: 5 av 5av felipecontrerass, 3 år sidan
- Vurdering: 5 av 5av Firefox user 14678933, 3 år sidan
- Vurdering: 4 av 5av Firefox user 17505828, 3 år sidanI 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 (?)Svar frå utviklaren
posta 3 år sidanSorry 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? - Vurdering: 5 av 5av Xenthys, 3 år sidan
- Vurdering: 5 av 5av Firefox user 17444643, 3 år sidan
- Vurdering: 5 av 5av Roma657, 3 år sidan
- Vurdering: 5 av 5av Mahdi Magroun, 4 år sidan
- Vurdering: 5 av 5av Cyrille37, 4 år sidan
- Vurdering: 5 av 5av Firefox user 13329218, 4 år sidan
- Vurdering: 5 av 5av Oleg Kyiashko, 4 år sidan