I am trying to send a POST request to the Apigee Management API using acurl, but I get illegal option for -H and -d flags, any ideas?

This is the request I am trying to send:

acurl -X POST -H ‘Content-Type: text/xml’ -d “<MaskDataConfiguration name="default">$.email” “https://api.enterprise.apigee.com/v1/organizations/org_name/apis/proxy_name/maskconfigs

ps: I replaced the real organization name with org_name and proxy name with proxy_name

final note: This is for learning purposes

,

1 Like

The data was in XML format but the editor removed all the tags