chao / restclient Goto Github PK
View Code? Open in Web Editor NEWRESTClient, a debugger for RESTful web services.
Home Page: http://www.restclient.net
License: BSD 3-Clause "New" or "Revised" License
RESTClient, a debugger for RESTful web services.
Home Page: http://www.restclient.net
License: BSD 3-Clause "New" or "Revised" License
It would be nice if I could select a file to be sent as request body.
I know OAuth2 is still draft, but it would be nice to see it supported anyway!
Seems to be an issue with its bytecode hinting, and because it's loaded as a web font, I can't seem to force it to be unhinted or auto-hinted with fonts.conf.
If you're unfamiliar with computer typography, here's a screenshot, explains everything:
http://img.photobucket.com/albums/v234/zax6661/broken_fonts.png
Try doing this:
GET http://www.wp.pl/test
Observe
data:text/html,
I use RestClient to test my rest service, it is very good. But when I need to record the reponse header, problem comes. I found the reponse header fields could not be copied to the clipboard! In my reponse header, there are many uuid, so it no easy to record them.
I see the response headers fine, and TCP Trace shows a body, but no body shows up in the tab.
Ian
Hi I was trying to use your client to test my service which requires the contenttype setting to be set to application/xml when sending a request, but am unable to define the type of content am sending. This would be a great feature to add if it not there, if it's there and I am not using it please tell me.
In 2.x headers are being presented as list of strings inside some kind of boxes. Those boxes cut off the headers string and in case of some long ones user is not able to distinguish them and has to move mouse over given header to view HTML tooltip. It would be much better if headers list will be rendered as real list (next item under the other) not as horizontal list of boxes. Scroll inside the container would be also very helpful. I really appreciate your job, this plugin is very useful, but please note that in case of such plugins users simply don't care how it looks - it should be just functional (less clicks, more job done).
Preparation:
Access a restricted resource with username/password from Firefox address bar and check the remember me box.
Access the same resource from RestClient with another username/password using the Login button of the RestClient
Defect:
Sometimes RestClient uses the cached authentication from FF instead of the defined header.
Clearing the authentication cache resolves the problem.
Expected:
RestClient should not send any headers, which aren't on the Request headers list.
( In my case different Authentication header was sent with or without trailing slash in the url )
Now the json result was not correctly highlighted.
Hi, are there/is it possible to assign, keyboard shortcuts to RestClient actions?
Mainly the "send" button?
I want to make a macro in autohotkey to switch to my browser and hit the "send" key to aid in testing my development... It really speeds things up when I run within netbeans with xdebug as I can hit a keyboard shortcut and the browser will reload the page and I dont leave the IDE... I'd like to do the same with restclient but havent found a way to activate the Send key from teh keyboard...
I found that tabbing into the address field and hitting enter also doesnt work, so couldnt work that as a workaround...
thanks for any help
According to the oauth spec, the signature base string should include parameters from the post body. In RESTClient, when the signature is generated, RESTClient doesn't seem to send the post body off to the oauth object, so the base string is incorrect.
I think the bug basically happens in restclient.js in the setOAuthAuthorizationHeader
method, which is around line 133 in the version I have.
I couldn't figure out how to get a debug (like, non-xpi-contained) version of this extension working in my browser, but if I can, I could probably fix this and submit a patch, if you're interested.
I updated my Firefox from 3.6 to 4 and now Rest Client does not make any request. The send button does nothing now.
Im using Ubuntu 10.10
I would really like it if the Formatted JSON was both selectable (for copy) and searchable. Thanks for a great add-in.
It happened to me that I pasted an URL into the text field (which accidentally contained a whitespace at the end) and it broke my OAuth signature. This was hard to spot and I found out by comparing the content of the Authorization header with the one of a request that got accepted.
Please trim the URL before you create the signature.
Clause 5.3 of RFC 2616 lists the standard http request headers ( http://tools.ietf.org/html/rfc2616#page-38 ). RESTClient would be improved if these were provided in a drop-down box in the Add Request Header dialogue.
Even better still would be syntax checking on the value entered.
Hi,
It would be nice to have RESTClient as Debian package. However Debian (and other distros) require an accurate documentation of all copyright. RESTClient seems to include some code pieces from other sources. It'd be helpful, if you'd like to document the copyright and origin of all files at least in the header of those files and maybe also in a file in the root directory.
Thank you.
content/restclientOverlay.xul | 7 +++++++
skin/overlay.css | 2 +-
2 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/content/restclientOverlay.xul b/content/restclientOverlay.xul
index bfa6ce6..81a3e79 100644
--- a/content/restclientOverlay.xul
+++ b/content/restclientOverlay.xul
@@ -19,4 +19,11 @@
class="toolbarbutton-1 chromeclass-toolbar-additional" tooltiptext="RESTClient"/>
</toolbarpalette>
+ <!-- Firefox 4+ Web Developer menu -->
+ <menupopup id="appmenu_webDeveloper_popup">
+ <menuitem id="restclientappmenu" label="&restclient.overlay.label;" oncommand="loadRestClient()"
+ accesskey="R" position="8" class="menuitem-iconic"
+ insertbefore="appmenu_pageSource"/>
+ </menupopup>
+
</overlay>
diff --git a/skin/overlay.css b/skin/overlay.css
index 83a78e0..5610ead 100644
--- a/skin/overlay.css
+++ b/skin/overlay.css
@@ -6,6 +6,6 @@ toolbar[iconsize="small"] #restclient-button {
list-style-image : url("chrome://restclient/skin/logo16.png");
}
-#restclienttoolsmenu {
+#restclienttoolsmenu, #restclientappmenu {
list-style-image : url("chrome://restclient/skin/logo16.png");
}
\ No newline at end of file
Hello, I wanted to submit a request, but I found only the bug part available.
Would it be possible to activate a tab to see the "Body Response" in HTML.
I am using your plugin for a REST application using DJANGO framework. When an error occurs in django the Body Response is a HTML page that explains the ERROR.
Currently I need to copy paste the HTML content, to a HTML Editor to be able to read the ERROR.
always mess code
We have discovered a problem in RESTClient that makes it unusable for our settings. Our scenario is as follows:
The problem is now that RESTClient after a redirect automatically changes the method to GET, regardless of what it was before. I would appreciate a lot if this issue could be fixed, because otherwise it is a great tool. However, because of this problem we currently need to revert to other, less convenient applications.
Greetings,
Sebastian
I havent seen how this was implemented in previous releases, but after 1.3.4 the given charset in Content-Type looks like being ignored, if the service respond with an UTF-8 charset and the mashine running RESTClinet is set to some other encoding, it looks like the local encoding is used not the charset in the Content-Type, this results in wierd chars when the response document contains special chars.
Can you add a feature that I as a user can upload file(s) with REST client to the specified URL?
I need that for debug purposes, it's much easier than creating and editing html files.
If it is already possible let me know how.
Thanks :)
It would be good to be able to remove a request header from the list of headers. Currently all you can do is modify them but not remove them.
I managed to enable RestClient FavIcon for Firefox following the guide at http://www.ondrejd.info/blog/favicon-for-firefox-addons/. As a FaviconizeTab user, this is really helpfull.
You just have to add the following to restclient.xul:
html:head
<html:link rel="shortcut icon" href="chrome://restclient/skin/logo24.png" />
/html:head
Just can't clone code and do the changes now, but works locally, so I think it could be included in the next release.
It could be cool if you select a previous request, the body is loaded maybe from some kind of "special save/open type"
Add option (checkbox in UI) to URL encode JSON data before submitting http request.
When I manually set a Content-Type header then RestClient automatically adds "; charset=UTF-8" at the end. I tested this with "text/plain" and "text/vcard".
Hi,
Im missing the feature to support digest http auth.
Perhaps this can be included?
Cheers.
Exported request file format has been changed since 2.0.0, add a function to convert the old request file to new one.
for exemple, something like GET /search?q=test worked with previous version od RESTClient,
but not anymore. It still works with a POST method.
When server returns http status 204 (No Content) plugin hangs with "Sending data ..." and Cancel button being displayed.
Isn't it possible to copy content from Response Header tab?
The add-on does not work if my body has JSON data.
So that user can remove all request headers by one click.
Can you fix this so it stops breaking every time firefox increments their version number?
Could it be possible to add some more info to the saved requests documents.
it would be cool if open would set:
method, uri and headers
The RESTClient keeps saying 'Sending data...' while response headers are shown in background in case the HTTP server serves no body-message with response:
tested with 404/400 responses.
First, great extension. Very helpful. ;-)
It would be useful to me to have some more flexibility in resizing the various UI panels.
Specifically, I find that while I am able to expand - almost in an unlimited way - the amount of space allocated to the Request panel (containing the two boxes for Request Headers
and Request Body
, respectively), there appears to be a minimum height imposed for those boxes. In particular, the Request Body seems quite tall. In many circumstances, I need more space to see the Response
panel (Header
, Body
, and Formatted
).
Once again, great extension and many thanks. Cheers!
It would be great if you could highlight and copy some or all text from the Formatted XML tab. While being able to copy from the Response Body is fine frequently I want a specific piece of information and sometimes finding it can be extremely difficult to find when not formatted.
The older version used to have a pretty printed XML output with line breaks and indentation. This is missing in 2.0.0. It would be nice if the Response Body (Highlight) view did this.
In most of the situations I'm testing many URLs, e.g.
GET http://[server]:[port]/cxf/sdg/feature
GET http://[server]:[port]/cxf/sdg/feature/{fid}
GET http://[server]:[port]/cxf/sdg/feature/{fid}/api/{apiid}
GET http://[server]:[port]/cxf/sdg/partner/{pid}/applicationgroup/{gid}/application/{aid}/environment
All parameters here - e.g. [server]
, [port]
, {fid}
, {gid}
can vary between consecutive requests.
Paths are long and hard to remember, and 1.3.x had functionality (probably given by browser itself) which was allowing it to remember all URLs I ever used. That was great feature and now in 2.x it's missing. That's really sucs! I cannot imagine I would have to add all paths to favorites. My teammates already moved to 1.3.5 just to have this functionality back and it doesn't matter for anyone if it's officially incompatible with FF 11.
I am testing a PURL server, which responds to http requests for a purl with a 302 and the target URL. The client then calls the new URL. The target URL supports content negotiation using the Accept header.
However, it appears that RESTClient does not send the http headers to the redirected URI. I have tested the same PURL server with a different HTTP client ('Send HTTP Tool') which seems to do the right thing, so I think it is a problem with RESTCLient, not with PURL or http, etc.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.