DEV Community

Cover image for No content to map to Object due to end of input.
Yuvarajan Johnpaul
Yuvarajan Johnpaul

Posted on • Updated on

No content to map to Object due to end of input.

You might face this issue while trying to perform REST API executions with the JSON input. This could occur if you are not passing the header along with the request [-H "Content-Type: application/json"].

However, this problem also occurs when we miss the -T argument while we are passing the JSON file along with the request.

Top comments (0)