Reply

curl commands on Windows

New Member
Posts: 3
2154     1

On windows cmd single quotes aren't recognized so the curl commands listed here: https://www.infoblox.com/wp-content/uploads/infoblox-deployment-infoblox-rest-api.pdf doesn't work, so you need to replace single quotes ' with \"

 

Example:

curl -k -u admin:passwd -H "content-type: application/json" -X POST "https://grid-master.com/wapi/v2.10.5/zone_auth?_return_fields%2B=fqdn&_return_as_object=1" -d "{\"fqdn\": \"testing.com\", \"view\": \"Sample\"}"

 

 

- Santhosh Balasa 

Showing results for 
Search instead for 
Did you mean: 

Recommended for You