Skip to content

Instantly share code, notes, and snippets.

@Ambrosia
Ambrosia / stream.md
Last active January 13, 2018 21:33
How to stream PC games on Twitch

How to stream PC games on Twitch

Prerequisites

Required

Optional

Keybase proof

I hereby claim:

  • I am ambrosia on github.
  • I am ambrosia (https://keybase.io/ambrosia) on keybase.
  • I have a public key ASD3o5iygr8ecZhZHDMQn0Dau7ZkgDFV1dZdIvd0Gwg7hQo

To claim this, I am signing this object:

POST /api/auth/login HTTP/1.1
Accept: application/json
Accept-Encoding: gzip, deflate
Connection: keep-alive
Content-Length: 67
Content-Type: application/json
Host: discordapp.com
User-Agent: HTTPie/0.9.3
{
9) test creates and renders resource when data is valid (Lookiee.UserControllerTest)
test/controllers/user_controller_test.exs:15
** (RuntimeError) expected content-type for json, got: "application/vnd.api+json; charset=utf-8"
stacktrace:
(phoenix) lib/phoenix/test/conn_test.ex:273: Phoenix.ConnTest.response_content_type/2
(phoenix) lib/phoenix/test/conn_test.ex:363: Phoenix.ConnTest.json_response/2
test/controllers/user_controller_test.exs:17