defmodule Gateway.Router do
  @moduledoc """
  Gateway HTTP Router
  """
  use Plug.Router

  plug :match
  plug :dispatch

  forward "/apis", to: Gateway.HTTP.API
end

defmodule Gateway.Router do
  @moduledoc """
  Gateway HTTP Router
  """
  use Plug.Router

  plug Plug.Parsers, parsers: [:json],
                     pass:  ["application/json"],
                     json_decoder: Poison

  plug :match
  plug :dispatch

  forward "/apis", to: Gateway.HTTP.API
end

Add top-level plug to parse json request bodies
Add top-level plug to parse json request bodies

Nebo15/annon.api,Nebo15/annon.api