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

client: add content-type and csrf headers #10

Merged
merged 1 commit into from
Oct 4, 2020
Merged

Conversation

paultyng
Copy link
Owner

@paultyng paultyng commented Oct 4, 2020

required for UnifiOS controllers (UDM, UDM Pro)

Ref paultyng/terraform-provider-unifi#55

This supercedes #9

required for UnifiOS controllers (UDM, UDM Pro)

Ref paultyng/terraform-provider-unifi#55
@paultyng paultyng merged commit b2581f5 into master Oct 4, 2020
@paultyng paultyng deleted the unifios_headers branch October 4, 2020 00:40
@paultyng
Copy link
Owner Author

paultyng commented Oct 4, 2020

I removed the logging in this package (I pass in a logging HTTP Client in the provider), but I did add a func to get the CSRF token so we could add additional logging inside the provider if we wanted.

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

Successfully merging this pull request may close these issues.

2 participants