bret_pat
bret_pat
Explore posts from servers
TtRPC
Created by bret_pat on 8/4/2023 in #❓-help
Get query parameters in middleware
Hi! I'm looking to perform authorization inside of middleware and I'm wondering how I can access the parameters that the user queried inside of the middleware? For example, let's say a user requested to look at Workout routine ID 532 in an API call. How would I be able to access the workout ID inside of middleware? I have their userID within CTX but no way to get the url path Thanks!
5 replies