Json parse failure on curl post data

So you are trying to POST data into logstash using curl, and logstash is reading the request headers as data. What does the configuration of your input look like?