Added missing comment
This commit is contained in:
parent
81aede25ec
commit
839fd24b14
|
@ -43,6 +43,7 @@ namespace BlockChainDemo
|
||||||
return chain.GetFullChain();
|
return chain.GetFullChain();
|
||||||
|
|
||||||
//POST: http://localhost:12345/nodes/register
|
//POST: http://localhost:12345/nodes/register
|
||||||
|
//{ "Urls": ["localhost:54321", "localhost:54345", "localhost:12321"] }
|
||||||
case "/nodes/register":
|
case "/nodes/register":
|
||||||
if (request.HttpMethod != HttpMethod.Post.Method)
|
if (request.HttpMethod != HttpMethod.Post.Method)
|
||||||
return $"{new HttpResponseMessage(HttpStatusCode.MethodNotAllowed)}";
|
return $"{new HttpResponseMessage(HttpStatusCode.MethodNotAllowed)}";
|
||||||
|
|
Loading…
Reference in New Issue