AIX Curl command

I have a cURL command that I am running on RedHat 7.3 like the following:

curl -X POST https://myserver:443/ -H 'cache-control: no-cache' -H 'content-type: application/json'-d '< "action": "test", "ipaddress": "192.168.1.1", "value": "false", "environment": "myrealm" >' --insecure 

I now need to do the same on AIX 7100. So far I have

curl -X POST -d '< "action": "test", "ipaddress": "192.168.1.1", "value": "false", "environment": "myrealm" >' https://myserver:443 

however i continue to get the error

You can only select one HTTP request! 

When I drop the -X POST it runs but it isn't doing a POST anymore, it simply hangs there until cancelled. Does anyone have an idea of how I can run the first cURL command on an AIX machine? thanks in advance!

EDIT

I am able to establish the connection now, how can I handle a --insecure in AIX? That option does not exist it seems.