Programming

Make The RESTClient Body Input Bigger

RESTClient is a useful Firefox extension for sending HTTP REST messages to a service. As well as a useful and simple interface for sending requests, it also lets you store requests to re-use again later. If you are writing REST services, it is a useful tool to have lying around.

The only problem I have with it is the request content input box, which is too short for my liking.

Update! Some time after this post, Stylish changed hands and got banned by multiple browsers after it started sending data up to a server. I don’t recommend using it and I recommend uninstalling it if you have it.

So I downloaded Stylish (another great Firefox extension) and added the following custom rule…

@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document url("chrome://restclient/content/restclient.html") {
  #request-body {
    min-height: 20em;
  }
}

You could do this without Stylish by creating a userContent.css file and placing it in the appropriate location.

Now I have an appropriately sized content box for my REST testing!