106 recenzji
- Ocena: 3/5Autor: Użytkownik Firefoksa 13847856, 8 lat temuNice, 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.Odpowiedź autora
Data: 8 lat temuHi, 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 - Ocena: 5/5Autor: Użytkownik Firefoksa 13842970, 8 lat temu
- Ocena: 5/5Autor: Alexey, 8 lat temuGreat extension for backend debug. Supports JSON highlighting, which is cool.
- Ocena: 5/5Autor: Użytkownik Firefoksa 13819094, 8 lat temuThis was exactly what I was looking for, plus the fact that it has a very nice interface.
- Ocena: 5/5Autor: thureos, 8 lat temuWow, what a useful, polished, pleasing to the eye extension. Congrats to the dev team.
- Ocena: 5/5Autor: Użytkownik Firefoksa 13801124, 8 lat temu
- Ocena: 5/5Autor: Użytkownik Firefoksa 13782030, 8 lat temu
- Ocena: 5/5Autor: Użytkownik Firefoksa 12748157, 8 lat temu
- Ocena: 4/5Autor: Rodrigo Flores, 8 lat temuThere 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 variablesOdpowiedź autora
Data: 8 lat temuThanks 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. - Ocena: 5/5Autor: Użytkownik Firefoksa 13643499, 8 lat temuNice - just what was needed. Great color scheme too. Clean and simple to use.
Thanks! - Ocena: 5/5Autor: gongxw, 8 lat temu
- Ocena: 5/5Autor: Użytkownik Firefoksa 13510260, 8 lat temuNice 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.
- Ocena: 5/5Autor: 朱学通, 8 lat temu
- Ocena: 5/5Autor: Użytkownik Firefoksa 13471360, 8 lat temuThank 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.
- Ocena: 5/5Autor: Marco, 8 lat temuI 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. - Ocena: 5/5Autor: Użytkownik Firefoksa 13414121, 8 lat temu