Skip to content
This repository was archived by the owner on May 12, 2021. It is now read-only.
This repository was archived by the owner on May 12, 2021. It is now read-only.

routed-echo example: invalid character '-' after top-level value #205

@driemworks

Description

@driemworks

When running the routed-echo example with the "global" flag set to false, the local ipfs daemon returns a 405 when http://localhost:5001/api/v0/id is invoked using http.Get. The endpoint should be called with POST.

ex:
resp, err := http.Post(LOCAL_PEER_ENDPOINT, "application/json", nil)

resp, err := http.Get(LOCAL_PEER_ENDPOINT)

IPFS API Doc
https://docs.ipfs.io/reference/http/api/#api-v0-id

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