Reply

Issue creating a Network WAPI

New Member
Posts: 2
2878     0

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?

Re: Issue creating a Network WAPI

New Member
Posts: 2
2879     0

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

Showing results for 
Search instead for 
Did you mean: 

Recommended for You

Businesses are investing heavily into securing company resources from cyber-attacks form cybercrimin