Skip to content
Discussion options

You must be logged in to vote

@UnLuckyAki: The information you give is incomplete and inconsistent.

  1. You say you are POSTing to /ipam/prefixes/{id}/available-ips/, but you say you are using the API. If that's true, it would be POST /api/ipam/prefixes/{id}/available-ips/
  2. What specific prefix in Netbox are you referring to? Is it 185.31.34.0/29, or 185.31.34.8/29, or something else? What does GET /api/ipam/prefixes/{id}/ show?
  3. You say you are using POST, not GET. However the JSON you show is what you'd get as the response to a GET request. (Also, if it were a POST request, normally you'd need to show both the request body and the response body. In this case I believe the request body can be empty, although I think you s…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@candlerb
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by UnLuckyAki
Comment options

You must be logged in to vote
1 reply
@candlerb
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants