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

Incorrect API end point in quickstart guide. #230

Open
sandeepV2 opened this issue Apr 25, 2024 · 1 comment
Open

Incorrect API end point in quickstart guide. #230

sandeepV2 opened this issue Apr 25, 2024 · 1 comment

Comments

@sandeepV2
Copy link

Incorrect API endpoint is used in quickstart code snippets
URL with typo : "https://mainnet.infura.io.infura.io/v3/YOUR-API-KEY"
Correct URL : "https://mainnet.infura.io/v3/YOUR-API-KEY"

https://docs.infura.io/api/networks/ethereum/quickstart#node-fetch

index.js
import fetch from 'node-fetch';

fetch("https://mainnet.infura.io.infura.io/v3/YOUR-API-KEY", {
  method: "POST",
  headers: {
    "Content-Type": "application/json"
  },
  body: JSON.stringify({

The same is found in following sections.
https://docs.infura.io/api/networks/ethereum/quickstart#axios
https://docs.infura.io/api/networks/ethereum/quickstart#ethers

@sandeepV2
Copy link
Author

It is a minor error, but could take ample of time for new bees. Couldn't find right code base to fix it, Do you have dedicated repo for documentation ?

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

1 participant