Please tell me, how I can get the variables values of the GET request I do so:
{Method, Req2} = cowboy_req:method(Req),
{FwdIPRaw, Req3} = cowboy_req:header(<<"x-forwarded-for">>, Req2),
{ClientCookie, Req4} = cowboy_req:cookie(<<"cook">>, Req3),
{ok, GetVals, Req5} = cowboy_req:qs_vals(Req4),
MessageId = proplists:get_value(<<"mid">>, GetVals),
EchoName = proplists:get_value(<<"m">>, GetVals),
{ok, Req5, State}.
But I get an error: qs_vals - undefined