From 320fc786737b8d53835bfcf13705d0a7b5ada5e3 Mon Sep 17 00:00:00 2001 From: Lucas Clemente Vella Date: Wed, 16 Jan 2019 23:26:35 -0200 Subject: [PATCH] Updated default API port. (#2400) Grin 1.0.0 uses port as API default. --- doc/api/api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/api.md b/doc/api/api.md index 0e5d9e06c..3de9f8806 100644 --- a/doc/api/api.md +++ b/doc/api/api.md @@ -4,7 +4,7 @@ This document contains the documentation for the 3 Grin REST APIs. These endpoin ## Node API -This endpoint is used to query a node about various information on the blockchain, networks and peers. By default, this REST API will listen on `localhost:13413`. This API is started as the same time as the Grin node. +This endpoint is used to query a node about various information on the blockchain, networks and peers. By default, this REST API will listen on `localhost:3413`. This API is started as the same time as the Grin node. This endpoint requires, by default, [Basic Authentication](https://en.wikipedia.org/wiki/Basic_access_authentication). The username is `grin` and the password can be found in the `.api_secret` file. To learn about what specific calls can be made read the [node API doc](node_api.md).