Task: Implement a Utility Function for Building Fetch GET Requests with Query Parameters
Task: Implement a Utility Function for Building Fetch GET Requests with Query Parameters: a task in Terminal-Lego-15k (Harbor dataset). Create a JavaScript utility module that provides a clean way to construct GET requests using the Fetch API with query string parameters. The module should accept…
The task
Create a JavaScript utility module that provides a clean way to construct GET requests using the Fetch API with query string parameters. The module should accept a base URL and a parameters object, then build the proper URL with query string encoding before making the request.
Part of PrimeIntellect/Terminal-Lego-15k.