106 דירוגים
- דירוג 3 מתוך 5מאת משתמש Firefox 13847856, לפני 8 שניםNice, 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.תגובת המפתח
מועד פרסום: לפני 8 שניםHi, 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 - דירוג 5 מתוך 5מאת משתמש Firefox 13842970, לפני 8 שנים
- דירוג 5 מתוך 5מאת Alexey, לפני 8 שניםGreat extension for backend debug. Supports JSON highlighting, which is cool.
- דירוג 5 מתוך 5מאת משתמש Firefox 13819094, לפני 8 שניםThis was exactly what I was looking for, plus the fact that it has a very nice interface.
- דירוג 5 מתוך 5מאת thureos, לפני 8 שניםWow, what a useful, polished, pleasing to the eye extension. Congrats to the dev team.
- דירוג 5 מתוך 5מאת משתמש Firefox 13801124, לפני 8 שנים
- דירוג 5 מתוך 5מאת משתמש Firefox 13782030, לפני 8 שנים
- דירוג 5 מתוך 5מאת משתמש Firefox 12748157, לפני 8 שנים
- דירוג 4 מתוך 5מאת Rodrigo Flores, לפני 8 שניםThere 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 variablesתגובת המפתח
מועד פרסום: לפני 8 שניםThanks 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. - דירוג 5 מתוך 5מאת משתמש Firefox 13643499, לפני 8 שניםNice - just what was needed. Great color scheme too. Clean and simple to use.
Thanks! - דירוג 5 מתוך 5מאת gongxw, לפני 8 שנים
- דירוג 5 מתוך 5מאת משתמש Firefox 13510260, לפני 8 שניםNice 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.
- דירוג 5 מתוך 5מאת 朱学通, לפני 8 שנים
- דירוג 5 מתוך 5מאת משתמש Firefox 13471360, לפני 8 שניםThank 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.
- דירוג 5 מתוך 5מאת Marco, לפני 8 שניםI 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. - דירוג 5 מתוך 5מאת משתמש Firefox 13414121, לפני 8 שנים