path(Req :: cowboy_req:req()) -> Path :: binary()
cowboy_req:path - URI path
path(Req :: cowboy_req:req()) -> Path :: binary()
Return the path of the effective request URI.
The path can also be obtained using pattern matching:
#{path := Path} = Req.
The Req object.
The path is returned as a binary string. It is case sensitive.
Path = cowboy_req:path(Req).
cowboy_req(3), cowboy_req:binding(3), cowboy_req:bindings(3), cowboy_req:path_info(3)
Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:
Recurring payment options are also available via BountySource. These funds are used to cover the recurring expenses like dedicated servers or domain names.