Skip to content

Commit

Permalink
ipfs /api/v0/id is post (#1819)
Browse files Browse the repository at this point in the history
  • Loading branch information
jc0803kevin authored Oct 13, 2022
1 parent 63b8803 commit a401276
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/routed-echo/bootstrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ type IdOutput struct {

// quick and dirty function to get the local ipfs daemons address for bootstrapping
func getLocalPeerInfo() []peer.AddrInfo {
resp, err := http.Get(LOCAL_PEER_ENDPOINT)
resp, err := http.PostForm(LOCAL_PEER_ENDPOINT, nil)
if err != nil {
log.Fatalln(err)
}
Expand Down

0 comments on commit a401276

Please sign in to comment.