Skip to content

Instantly share code, notes, and snippets.

@mwotton
Created March 23, 2017 15:14
Show Gist options
  • Save mwotton/612c53e90ae772d8af977729d02f503b to your computer and use it in GitHub Desktop.
Save mwotton/612c53e90ae772d8af977729d02f503b to your computer and use it in GitHub Desktop.
type Unprotected =
"login"
:>
Get '[HTML] LoginForm
:<|>
(ReqBody '[JSON] Login
:> PostNoContent '[JSON] (Headers '[Header "Set-Cookie" SetCookie] NoContent))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment