Task: Fix jQuery AJAX to Send Valid JSON in Request Body
Task: Fix jQuery AJAX to Send Valid JSON in Request Body: a task in Terminal-Lego-15k (Harbor dataset). You are given a web application with a jQuery AJAX request that is supposed to send JSON data to a server endpoint. However, the current implementation has a bug: instead of sending valid JSON…
The task
You are given a web application with a jQuery AJAX request that is supposed to send JSON data to a server endpoint. However, the current implementation has a bug: instead of sending valid JSON in the request body, it sends the string `[object Object]`, which the server cannot parse.
Part of PrimeIntellect/Terminal-Lego-15k.