Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
curl commands on Windows
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2020 06:12 AM
2239     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