How to handle this kind of route /_range?from=<>&to=<>

i am currently using this route "/_range/{range}" but how to handle something like range?from=<>&to=<>

thanks !!

Hi. Use https://golang.org/pkg/net/http/#Request.ParseForm to parse form and url query. Access values with https://golang.org/pkg/net/http/#Request.FormValue

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.