Pybites Logo Rust Platform

URL Query Parameter Parser

Update the parse_query_params function to parse a URL query string (e.g., "name=John&age=30") and return a HashMap<String, String> of key-value pairs.

Example

Given the input string "name=John&age=30", the function should return a HashMap containing:

  • name -> "John"

  • age -> "30"