INFURA / infura

Official Public Repository for INFURA
https://infura.io
381 stars 62 forks source link

HTTP 401 | Trailing slash in API endpoints #221

Open yudikubota opened 2 years ago

yudikubota commented 2 years ago

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 https://github.com/INFURA/infura/issues/159#issuecomment-438323102

AnmolBansalDEV commented 2 years ago

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