INFURA / infura

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

Incorrect API end point in quickstart guide. #230

Open sandeepV2 opened 4 months ago

sandeepV2 commented 4 months ago

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 commented 4 months ago

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 ?