Skip to content

Commit

Permalink
Fix syntax highlighting in README
Browse files Browse the repository at this point in the history
  • Loading branch information
nscyclone committed May 18, 2016
1 parent 0d06bf0 commit d6f559f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ apt-get install erlang-dev

## Usage

```iex
```elixir
iex> HTTPoison.start
iex> HTTPoison.get! "http://httparrot.herokuapp.com/get"
%HTTPoison.Response{
Expand Down Expand Up @@ -100,7 +100,7 @@ defmodule GitHub do
end
```

```iex
```elixir
iex> GitHub.start
iex> GitHub.get!("/users/myfreeweb").body[:public_repos]
37
Expand Down Expand Up @@ -145,7 +145,7 @@ iex> flush

HTTPoison allows you to send cookies:

```iex
```elixir
iex> HTTPoison.get!("http://httparrot.herokuapp.com/cookies", %{}, hackney: [cookie: ["session=a933ec1dd923b874e691; logged_in=true"]])
%HTTPoison.Response{body: "{\n \"cookies\": {\n \"session\": \"a933ec1dd923b874e691\",\n \"logged_in\": \"true\"\n }\n}",
headers: [{"Connection", "keep-alive"}, ...],
Expand Down

0 comments on commit d6f559f

Please sign in to comment.