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.

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, but try finding the appropriate location and you’ll realise that Stylish is faster and helps you manage all your custom rules easier.

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