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
A record creation with WAPI : OK with nios 6.10, NOK with nios 6.8
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-16-2014 01:51 AM
Hi everybody,
I am currently doing some scripting with powershell and i encountered a problem:
i developed a little script for automating A and PTR record creation.
So far, it's working nice with nios 6.10 using WAPI set to 1.2.1.
But when used with another appliance with nios 6.8 wapi set to 1.2.1 i am having http 400 errors.
Here is a sample of the powershell script:
$PASS = ConvertTo-SecureString "bobleponge" -AsPlaintext -Force $IDENTIF=New-Object System.Management.Automation.PSCredential bob, $PASS Invoke-WebRequest -Uri "https://ipam.bob.leponge/wapi/v1.2.1/record:a" -Method Post -Body "{`"ipv4addr`":'10.173.0.2',`"name`":'testVM.my.domain'}" -ContentType "application/json" -Credential $IDENTIF
If someone have an idea...
what's the error message ?
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-23-2014 11:39 AM
what's the error message ?
6.8 may not support version 1.2.1 of the WAPI