Learn How We Can Help You Keep Teleworkers Protected During the COVID-19 Crisis

API & Integration

Reply
Highlighted

curl commands on Windows

Techie
Posts: 3
83     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 
Do you mean 

Recommended for You