Created
October 4, 2018 15:02
-
-
Save forki/24f80ba00811d887218f0f22e356d144 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let allTagsEndpoint = | |
pipeline { | |
plug (fun next ctx -> task { | |
let txt = TagList.Encoder tags |> Encode.toString 0 | |
ctx.SetContentType ("application/json") | |
return! setBodyFromString txt next ctx | |
}) | |
set_header "Content-Type" "application/json" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment