Skip to content

Instantly share code, notes, and snippets.

View jchoca's full-sized avatar
🌱
Eating plants

Jimmy Choca jchoca

🌱
Eating plants
View GitHub Profile
@jchoca
jchoca / github-app-api-jwt.md
Last active January 19, 2020 17:21
Making a request to the GitHub app API in Elixir

Add the jerl Erlang library in mix.exs file

{:jwerl, "~> 1.1"}
defmodule GithubJwt do
  def github_api_test do
 jwt = create_jwt("/path/to/pemfile", APP_ID)