[erlang-questions] trying to learn cowboy

Ben Hsu benhsu@REDACTED
Sun Jun 28 21:17:10 CEST 2015


On Sun, Jun 28, 2015 at 3:07 PM, Loïc Hoguin <essen@REDACTED> wrote:
>>
>> handle(Req, State) ->
>>      Reply = case cowboy_req:method(Req) of
>>          {'GET', _} ->
>
>
> {<<"GET">>, _}
>

Thank you Loïc, I thought I tried that but apparently I didn't. It worked



More information about the erlang-questions mailing list