Skip to content

Incorrect API end point in quickstart guide. #230

@sandeepV2

Description

@sandeepV2

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions