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

Question about the URL request #39

Open
dannypage opened this issue Feb 27, 2024 · 1 comment
Open

Question about the URL request #39

dannypage opened this issue Feb 27, 2024 · 1 comment

Comments

@dannypage
Copy link

Curious why this line is needed in the code - or more broadly, why there's a Callback at the end of the base_url? It seems to work without the callback, but maybe there's some information I am missing.

I'm also curious about the key and if we should be concerned about it ever rotating. Thanks!

res <- gsub("angular.callbacks._4\\(", "", res)

@benhowell71
Copy link
Collaborator

Yeah, as I'm going back and updating / re-writing some of the functions, I am converting them to this to handle the regex better:

  callback_pattern <- "angular.callbacks._\\d+\\("
  res <- gsub(callback_pattern, "", res)

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