HF RL Explorer

Task: Fix HTTP Client Request Error (getaddrinfo ENOTFOUND)

Task: Fix HTTP Client Request Error (getaddrinfo ENOTFOUND): a task in Terminal-Lego-15k (Harbor dataset). You are given a Node.js HTTP client script that attempts to make a GET request to a local REST API server. The client script has a bug in its configuration that causes the following error:

The task

You are given a Node.js HTTP client script that attempts to make a GET request to a local REST API server. The client script has a bug in its configuration that causes the following error:

Part of PrimeIntellect/Terminal-Lego-15k.