The request body should contain the code as JSON.
The response is returned in JSON format.
If an error occurs, an appropriate response is returned: