"error" : "Content-Type header [application/x-www-form-urlencoded] is not supported",

Welcome!

Windows is a pain when it comes to curl. You should better use Kibana.

Have a look at this: Content-Type header [application/x-www-form-urlencoded] is not supported, "status":406