Showing posts with label CodeMirror. Show all posts
Showing posts with label CodeMirror. Show all posts

Tuesday, 12 January 2016

Encoding drop down removal from the app

Hi developers!


Update April 4, 2016
As of release 6 of the app the dropdown for content type header back to the app. Read more in this blog post.



I received a lot of questions about missing drop-down with predefined encoding values. I feel I owe you an explanation.

Lets begin of what it was. Encoding for payload is nothing more than value for Content-Type header. So when you selected one of predefined encodings (or rather mime types) the app added Content-Type header to the headers list before submission.

Earlier, the drop down list contained a list of predefined values for the Content-Type header. In fact this was only a shortcut for adding a header to the headers list. We all love shortcuts but..

Sunday, 5 May 2013

New feature - CodeMirror support for HTTP headers and payload editor

Hi,

Lately I made some changes to the Rest Client.
One of it is a CodeMirror integration for input panels. Now you can edit HTTP headers or payload using convenient editor.
Note: It is a experimental feature and not enabled by default. It still may cause some problems.
To enable this feature go to Settings page and select checkbox near "CodeMirror headers editor" and "CodeMirror payload editor".

The HTTP headers editor

It will highlight your input. Thanks to autocomplete feature it will display suggestions of common HTTP headers with common values. Hit CTRL + space to run autocomplete. It will also work while you typing.

The payload editor

This feature will load CodeMirror editor in the Payload raw input instead of the standard textarea. The editor reconfigures itself according to your Content-type selection, selecting the most appropriate editing engine for your content. 
Currently supported engines are: HTML + CSS + JavaScript (combined or splitted), XML, JSON, SQL.


If you have feature request use Google Code Issue Tracker and submit a request.

Happy RESTing!