Introducing SOC Insights for BloxOne Threat Defense: Boost your SOC efficiency with AI-driven insights to eliminate manual work and accelerate investigation and response times. Read the blog announcement here.

API & Integration, DevOps,NetOps,SecOps

Reply

curl commands on Windows

New Member
Posts: 3
1823     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