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

HTTP 401 | Trailing slash in API endpoints #221

Open
yudikubota opened this issue Mar 29, 2022 · 1 comment
Open

HTTP 401 | Trailing slash in API endpoints #221

yudikubota opened this issue Mar 29, 2022 · 1 comment

Comments

@yudikubota
Copy link

Steps to reproduce

  1. make a request to https://mainnet.infura.io/v3/<PROJECT_ID>/

What is happening

HTTP 401 Unauthorized

What is expected

I think Infura API should handle the trailing slash as it cannot be part of PROJECT_ID and it's very common to add a trailing slash automatically.

References
2018
#159 (comment)

@AnmolBansalDEV
Copy link

I would like to take up this issue, where can I find the relevant code, and please provide a project ID to work with.

kevincheng96 added a commit to kevincheng96/seacrest that referenced this issue Aug 23, 2022
Infura has trouble handling requests with a trailing slash in API endpoint. INFURA/infura#221

Credit to 🍯 for the find
hayesgm pushed a commit to hayesgm/seacrest that referenced this issue Aug 23, 2022
* Remove trailing slash in proxyUrl

Infura has trouble handling requests with a trailing slash in API endpoint. INFURA/infura#221

Credit to 🍯 for the find

* Remove trailing slashes directly from proxyUrl

* Revert latest change
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