Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
example.com:8080/browse?category=137 is my URL for a taxonomy category page.
How am I supposed to take the category ID (137) from that URI?
You can take that id from get array, try
If you are using Drupal 7 then you can make use of existing function drupal_get_query_parameters
But also you can use
Make sure you use check_plain() to be sure of save URL values.
Required, but never shown