<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Q = cowboy_http_req:get_value(<<"<u></u>q">>, Request)<br>
Id = cowboy_http_req:get_value(<<"<u></u>id">>, Request)<br></blockquote></div></blockquote><div><br></div><div>I was confused by the pass back of Request myself. I started using Cowboy yesterday and wasn't sure if I needed to continue to pass the new Req variable on down like:</div>
<div><br></div><div>{Q, R1} = cowboy_http_req:get_value(<<"<u></u>q">>, R),</div><div>{Id, R2} = cowboy_http_req:get_value(<<"id">>, R1)</div><div><br></div><div>And then return that R2 at the end of the function with the return tuple.</div>
<div><br></div><div>1) Do you?</div><div>2) "Again, the problem no longer exists!" -- What did that mean?</div><div><br></div><div>Tristan</div></div>