Code Monkey home page Code Monkey logo

restclient's People

Contributors

ajayk avatar chao avatar kazuhiro avatar pcvolkmer avatar rswail avatar stiak avatar toinux avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

restclient's Issues

Support OAuth2

I know OAuth2 is still draft, but it would be nice to see it supported anyway!

The response header can't be copied in firefox plugin.

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.

changing content type

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.

2.x cut off headers content in view

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).

Wrong Authentication header

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 )

Keyboard shortcuts

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

Oauth signature base string is generated incorrectly

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.

Does not make any request on FF4

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

Whitespace in the URL breaks the OAuth signature

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.

document copyright of all files

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.

Add RESTClient menuitem into Firefox 4+ Web Developer menu (patch + screenshot)

Screenshot

screenshot

Patch

 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

Body Response in HTML

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.

redirect changes HTTP method always to GET

We have discovered a problem in RESTClient that makes it unusable for our settings. Our scenario is as follows:

  1. I send an HTTP PUT to a webservice
  2. the webservice, depending on some parameters of the request then sends a 303 redirect to an appropriate service for handling my request
  3. I send the HTTP PUT to the redirected URL

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

Content-Type: looks like charset is ignored

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.

File upload?

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 :)

Favicon for RestClient Tab

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.

request history

It could be cool if you select a previous request, the body is loaded maybe from some kind of "special save/open type"

charset is also ignored in requests

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".

response header does not show all cookies

  • send a request to any website which sets multiple cookies
  • the REST Client only shows 1 cookie in the response header
  • using firecookie, I was able to see that there are actually multiple cookies that are set

add more info in save/open

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

More flexible resizing of UI panels

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!

Highlight/Copy Formatted XML

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.

2.0.0 doesn't pretty-print XML

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.

2.x does not remember used URLs

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.

RESTClient does not appear to send http headers to a redirected URL

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.

Missing features

  • display execution time of requests
  • indentation if response is XML
  • remember opened tab (response headers, body, etc ) between requests
  • history in url bar
  • personnal suggestion : replace the "Processing" modal box with something more like a throbber

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.