BatmanAMA / powerbox

Netbox powershell module
MIT License
48 stars 18 forks source link

Remove HTTP GET restriction for Authorization token #14

Closed remcovn closed 6 years ago

remcovn commented 6 years ago

Executing an HTTP GET request against the Netbox API requires an authorization token. Passing the auth token in the request was excluded for GET requests. Removed this exclusion solved my problem where I wasn't able to perform any Get-requests through powerbox.

BatmanAMA commented 6 years ago

Hi remcovn!

Thanks for the MR, I appreciate the help. This bug (#11) is patched in the current prerelease version built against MR #13 - you can download this from the releases page https://github.com/BatmanAMA/powerbox/releases

I will validate that I don't have anything still pending to fix in that release and publish it tomorrow when I'm back to work where I can test against a netbox instance. Once it's published, it'll be available from the powershell gallery as well.

remcovn commented 6 years ago

Perfect! Thanks!