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

censys ipv4 - use axios for getting data instead of got #187

Merged
merged 1 commit into from
Jul 31, 2020
Merged

Conversation

epicfaace
Copy link
Member

@epicfaace epicfaace commented Jul 30, 2020

Somehow, using got with the earlier auth parameters for the censys api endpoint / details url requests doesn't work and returns a 403 unauthorized request. I've changed these requests to use axios instead.

I deployed the workers and tested, and the axios version worked.

This issue doesn't appear to happen for the .gz files, so I continue to use got for that request.

Related to sindresorhus/got#1169

@epicfaace epicfaace requested a review from cablej July 30, 2020 18:41
@epicfaace epicfaace merged commit 73e58aa into master Jul 31, 2020
@epicfaace epicfaace deleted the axios branch July 31, 2020 21:17
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