From d6f559fd3a0da4393ac05d2841495e6695244b28 Mon Sep 17 00:00:00 2001 From: nscyclone Date: Wed, 18 May 2016 08:08:20 +0300 Subject: [PATCH] Fix syntax highlighting in README --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d21d466..8e0f0c1 100644 --- a/README.md +++ b/README.md @@ -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{ @@ -100,7 +100,7 @@ defmodule GitHub do end ``` -```iex +```elixir iex> GitHub.start iex> GitHub.get!("/users/myfreeweb").body[:public_repos] 37 @@ -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"}, ...],