apocryphal v0.2.8 Apocryphal
Summary
Functions
Deserializes an HTTP Response
Examples
iex> Apocryphal.parse("./path/to/v1.yaml")
Serializes an HTTP Body
Get the full URL of the server under test
Functions
Deserializes an HTTP Response
Example
config :apocryphal,
deserializers: %{
"application/json" => fn(body) -> Poison.decode!(body) end
}
Serializes an HTTP Body
Example
config :apocryphal,
serializers: %{
"application/json" => fn(body) -> Poison.encode!(body) end
}