Save 25%Black Friday: 25% off all plans — use code BLACKFRIDAY2026 at checkout. Ends Monday, Dec 7.Claim the deal

A web service receives HTTP GET requests where the URL may include a query string, which is the part after the first question mark '?'. Your task is to parse the query parameters and return a mapping of keys to their values.

Parse the query string according to the following rules:

  1. Key-Value Extraction:
    • For each key=value pair, include key: value in the result.
      • For example, the query string "year=100&type=action" should produce {"year": "100", "type": "action"}.
Stdout
-