Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API GET ok, CREATE/PUT etc not wokring #89

Closed
splattner opened this issue Aug 9, 2018 · 2 comments
Closed

API GET ok, CREATE/PUT etc not wokring #89

splattner opened this issue Aug 9, 2018 · 2 comments

Comments

@splattner
Copy link

splattner commented Aug 9, 2018

Hey Ninech

Have you been using the API of Netbox with this Setup? All GET Methods seems fine, but I can't make all the "Write"-Methods working. The NGINX Proxy always logs GET and all my PUT Requests also just acts as if theye were GETs.
Not sure if this is Netbox related or just some NGINX misconfiguration.. Can't find any useful informations at the moment.

Any suggestions? Have you seen this behaviour? I tried the the docker-compose way locally, but also on our OpenShift Installation I see the same behaviour.

Regads, sebastian from Puzze ITC, Bern

edit:

and yes, the API Token is write enabled =)

@splattner
Copy link
Author

never mind....
I sent the Request to http and not https.. and then with the Redirect the Method probably got lost. 🤦‍♂️

@cimnine
Copy link
Collaborator

cimnine commented Aug 10, 2018

Have you been using the API of Netbox with this Setup?

Yes. We use it to develop our https://github.com/ninech/netbox-client-ruby (and some internal tools).

Cheers to Bern

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants