I'm using GO and chi router trying to create and endpoint filtering a table by status, but when I use the ? on the URL I'm receiving 404 page not found
.
I am using the following code:
r.Get("/table?status={status}", l.Hanlder(tableHandler.GetByStatus))
When I remove the ? it works just well. I can't use it to filter? I can not, how can I do it?
Thanks in advance.