Bulk dumping json data gives error

I'm trying to use bulk_api to dump some json data. I keep getting this error. Anyone know what it is about?

My code: curl -xPOST 'localhost:9200/_bulk?pretty' --data-binary @indeed_profiles.json
Error: curl: (5) Could not resolve proxy: POST

Use -XPOST, not -xPOST.

1 Like

OMG THANK YOU!! i feel like an idiot now :joy: