Fix endpoints with params in path.
Fix endpoints with params in path.