106 recenzí
- Hodnocení: 3 z 5od uživatele Uživatel Firefoxu - 13847856, před 8 letyNice, but does not send GET request with body.
site/elements/data/scripts/request.js:
if (request.method.toLowerCase() !== 'head' && request.method.toLowerCase() !== 'get') {
init.body = requestBody;
}
Update:
I don't have much experieces with node.js, but...
Maybe it can be achieved with socket.io and emulate http protocol?
I wanted to use your extension for doing requests to elasticsearch, it uses GET and in http body is json.Odpověď vývojáře
zveřejněno před 8 letyHi, 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 - Hodnocení: 5 z 5od uživatele Uživatel Firefoxu - 13842970, před 8 lety
- Hodnocení: 5 z 5od uživatele Alexey, před 8 letyGreat extension for backend debug. Supports JSON highlighting, which is cool.
- Hodnocení: 5 z 5od uživatele Uživatel Firefoxu - 13819094, před 8 letyThis was exactly what I was looking for, plus the fact that it has a very nice interface.
- Hodnocení: 5 z 5od uživatele thureos, před 8 letyWow, what a useful, polished, pleasing to the eye extension. Congrats to the dev team.
- Hodnocení: 5 z 5od uživatele Uživatel Firefoxu - 13801124, před 8 lety
- Hodnocení: 5 z 5od uživatele Uživatel Firefoxu - 13782030, před 8 lety
- Hodnocení: 5 z 5od uživatele Uživatel Firefoxu - 12748157, před 8 lety
- Hodnocení: 4 z 5od uživatele Rodrigo Flores, před 8 letyThere are some things you need to add to this addon:
1)Export/Import Request
2)Change the request title background color for the dark theme
3)Save cookies value as variablesOdpověď vývojáře
zveřejněno před 8 letyThanks for the review and the suggestions.
1) I'm already working on Export/Import functionality. It will take a bit of time to finish this, though.
2) I will think about changing the color or making it configurable but I consider this low priority. Let me know if this very important for you.
3) That's a great idea and something I have thought of as well. I definitely want to add something like this in the future.
One last note: RESTer is open source. If you like to contribute and add a certain feature, head over to https://github.com/frigus02/RESTer and open a pull request. I'm happy to help if you encounter any issues. - Hodnocení: 5 z 5od uživatele Uživatel Firefoxu - 13643499, před 8 letyNice - just what was needed. Great color scheme too. Clean and simple to use.
Thanks! - Hodnocení: 5 z 5od uživatele gongxw, před 8 lety
- Hodnocení: 5 z 5od uživatele Uživatel Firefoxu - 13510260, před 8 letyNice product, with useful features! I'm giving this 5-stars even though the UI could use an improvement in the "AUTHORIZATION" section; sometimes authorization tokens can be really long, and when I saved my custom authorization, it showed up under "Use existing tokens" with no wrapping, extending the page horizontally and making it hard to use the buttons attached to the item.
- Hodnocení: 5 z 5od uživatele Uživatel Firefoxu - 13505290, před 8 letyit works smoothly. all I needed. thanks.
- Hodnocení: 5 z 5od uživatele 朱学通, před 8 lety
- Hodnocení: 5 z 5od uživatele Uživatel Firefoxu - 13471360, před 8 letyThank you for this nice tool. It would be great to add a feature to trim the body of POST requests. So if you want to add human readable and formated JSON string sometimes you need to remove all spaces and tabs because memory restricted system do not have space to receive it with it.
- Hodnocení: 5 z 5od uživatele Marco, před 8 letyI installed this extension because the previous one I used is not compatible with FF 57.
However, I got to say that this is really a good one, and I like it more than the other I used. - Hodnocení: 5 z 5od uživatele Uživatel Firefoxu - 13414121, před 8 lety