- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Issue creating a Network WAPI
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2020 03:49 AM
Hi,
I am using WAPI/v2.9.5 and I am trying to create a network 172.10.0.0/16.
When I make the request through Postman the Network is created as expected but when I do it through my NodeJS app it is created as a Network Container.
This is the call I am making:
POST
https://host/wapi/v2.9.5/network?_return_fields%2B=network&_return_as_object=0
{
"network": "172.10.0.0/16",
"comment": "NETWORK"
}
Why does it create a Network in one case and a Network Container in the other one using the same endpoint and body?
Solved! Go to Solution.
Re: Issue creating a Network WAPI
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2020 04:09 AM
I found out what was happening, it is not an issue, through my app, I was creating a subnet straight after the creation of the network and this converts it into a Network container. I figure out that if I add the Zone to the Network and then creates the subnet it works as expected