Giter VIP home page Giter VIP logo

rest-easy's Introduction

REST Easy

REST Easy is a Firefox add-on that provides a full-featured REST client in the browser. It is still a work in progress, but the features currently implemented include:

  • support for all common HTTP methods
  • parameter editor supporting both application/x-www-form-urlencoded and multipart/form-data
  • ability to specify arbitrary data for POST and PUT requests
  • preview of HTML both as text and rendered in the browser
  • syntax highlighting for HTML, JavaScript/JSON, and XML

Features planned for upcoming releases include:

  • tools for saving and loading requests

Add to Firefox

Instructions

Using REST Easy is simple: just click the toolbar button to open a new tab.

Screenshot

Building the Add-on

The add-on uses an extremely simple Makefile to build the XPI. Simply open a terminal in the directory containing the source code and run:

make

Get Involved

Interested in helping out with REST Easy development? We'd love to have you contribute! Just fork this repository, make your changes, and submit a pull request. Here are some of the areas we would like some help in:

  • JavaScript programmers: the following features are still in the planning stages:

    • loading and saving requests
    • preview of more file types
    • ability to specify a file to upload with a POST or PUT request
  • Theme designers: our current theme is written in LESS and compiled on-the-fly to CSS in the browser. Although the current theme is usable, we welcome improvements.

  • Localization: the add-on has already been translated into a few languages, but we're always excited to add support for more languages. All translations for other languages are welcome.

rest-easy's People

Contributors

andreynering avatar bencoderss avatar bitdeli-chef avatar bytecommander avatar eliihen avatar krzysztof-sikorski avatar manicow avatar mikael-desharnais avatar mirkoperillo avatar nathan-osman avatar palohan avatar rafael-neri avatar revolter avatar timendum avatar vhr avatar walternascimentobarroso 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

rest-easy's Issues

Still Unable to see in menu ?

Hello,

I still can't see the Rest-Easy addon in the Firefox menu. I already read the corresponding and closed issue but I can't install the latest version 0.3.0. I use Firefox 35 and the only version I can install is 0.2.8.

What can I do to reactivate your great add-on?

Thanks and Regards
Michael

Ability to save a request

I would like to make the same request repeatedly. It would be nice to be able to save the URL / parameters etc. for later use.

Long header value

Hi,
I'm editing my custom headers, but I notice if I have a long header value, the 'Headers' section expands much more where is the divisor line.

The issue is: Is it possible any option to cut the text to the next line considering the divisor line?

captura

Storage for commonly issued requests

Currently, all requests must be entered from scratch - there is no way to have requests preserved between sessions. It would be awesome if the requests could be named and stored for later retrieval.

Ability to manually enter request body needed

Although there is a tab for entering POST parameters as key/value pairs, there is currently no way to directly enter a request body. This could be used to test other content types being sent in POST requests.

REST Easy is broken on Firefox Nightly

REST Easy does not display a toolbar icon nor does the menu item work when run in Firefox Nightly (29.x). This is probably due to some of the new changes brought in by Aurora.

Double-click to edit value & name

I've been using this extension for some time and would like to request this feature: when one double clicks the table cell (value or name), the value become editable. Current workaround is to delete the entry (row) and add it back again. The approach of double-click editing has been widely accepted in many applications, e.g. Postman, and phpMyAdmin.

I've tried to write the feature, but unfortunately I'm not familiar with Ember.js (and I've gone ahead to write it but still no luck to produce what I want). Probably I need some time to learn using Ember.js before writing the feature myself. In the meantime, I'd like to share this idea to see if anyone is interested.

Can't handle the 204 status code [bug]

When the plugin gets a 204 status code, it just shows the "Please wait, Sending the request"-dialog and then stays like that until cancelled. I get the correct status code (204) when I request the same thing using cURL.

It most likely has something to do with that 204 responses don't have entity-bodies and that that case isn't being handled correctly in the plugin.

differentiate headers and parameters tabs

I'm constantly editing a request's parameters when I mean to edit its headers. Technically this could be blamed on user error but it doesn't help that the UI makes the two tabs look nearly identical. A thicker line around tabs or a larger font for the active tab would make the state of the UI more obvious.

edit: I'm on 0.2.8. If the screenshots in the readme reflect 0.3.x, then that looks like it'll help.

Unable to see in menu

Hi, I am trying to get access to this extension but can't find it in the menu.

How can I build the .xpi file to try to install the latest version? I tried using cfx but there isn't a package.json file.

screen shot 2014-12-30 at 11 53 30 pm

UI overhaul is required

The current UI is nice, but I need to stuff a lot of new controls inside the panels to support manual request bodies, file uploads, etc. Rather than playing around with the existing UI for hours on end, I decided to recreate the page from scratch. I also decided to switch to a custom CSS theme instead of using Bootstrap to ensure full control over the sizing issues that plagued the last versions.

Here's a preview of what I have so far:

Feedback is welcome.

Editing headers

It's not possible to edit headers of a saved request. Double click on header previously saved doesn't work.

Double click correctly works if I add a new header on a loaded saved request or if I add an header to a request created from scratch

Syntax highlighting for HTML/JSON/XML

Currently, the raw tab in the response column does not format or highlight the response in any way, shape, or form. It would be terrific if the response was highlighted to make reading easier. This could (and should) be done automatically for HTML, JSON, and XML.

Prettify JSON

Would be cool if JSON could be prettified. IMO it makes sense to do so in the "preview" tab.

This:

{"parameter1":"value1","parameter2":"value2"}

should become this:

{
    "parameter1": "value1",
    "parameter2": "value2"
}

Support needed for other HTTP methods

Currently, only GET, HEAD, and POST requests may be sent from REST Easy. The HTTP standard lists the following other methods that may be implemented:

  • PUT
  • DELETE
  • PATCH
  • OPTIONS

(TRACE is not supported with XMLHttpRequest.)

Addon doesn't show up in web developer menu

In Firefox 27 on Mac OSX 10.8.5, this addon does not show up in the web developer menu. (Or maybe I just can't seem to figure out how to open it. :p But it definitely doesn't seem to be under tools > web developer.)

Can't extract binary data after post

I'm using the REST Easy add-on in Firefox for testing my rest api. I posted some data to an endpoint and successfully got a response. I selected "custom", mime type=application/json and a json string.
But I'm not able to get the content. I can only see the header lines. If I click on "raw data" then I will see:

Unable to display binary data

The content-type of the response is applicaton/hal+json.

Saving requests

Hi,
I'd like to request a feature of saving requests(or requests templates) that I've already made. Or exporting/importing them.
Thanks a lot,
a.

Add-on needs a toolbar button

The add-on (in its current form) must be launched directly from the web developer menu. Other add-ons add a toolbar button that can be used to launch the tool. REST Easy needs to offer a similar toolbar button.

Custom content type not respected when POSTing

Hi,

I have a strange problem - I use REST-Easy (which I love, thank you!) in Firefox to debug a WCF service that speaks JSON. It's been working fine until the last day or so, when suddenly, all my POSTs have stopped working. Looking in Fiddler, it appears that the content-type, which I set to 'application/json' in the REST-Easy UI, is actually going out as 'text/plain;charset=UTF-8'. Replaying the requests in Fiddler with this corrected results in the service calls succeeding.

I can't understand why this has just recently stopped working - according to the status page, it hasn't changed since I installed it - and also what I can do to fix it? I've tried rolling back my code to a version that definitely worked, and I'm trying to run REST-Easy on two different machines, one talking to a local copy of the service, and one talking to a server VM. All with no success.

Maybe Firefox has changed something recently? I'm on 51.0.1.

Hope you can help!

Dan

Cancel current request

I'm using the addon since a couple of days.
Sometimes when something gone wrong with the request the dialog of "sending request" remains open and cancel button doesn't work.
So I've to close and reopen the addon.

https calls don't work

I tried to invoke a GET call on a service in https and nothing appears. It seems that addon doesn't do anything. (response code is 0 without headers of response).

the same call works correctly on RESTClient addon

Send with Enter

I would expect that pressing enter in address bar will send the request, but currently it doesn’t work and one must click on the button.

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.