Examples no longer require tokens

This commit is contained in:
Lucas Nicodemus 2011-09-05 01:42:37 -06:00
parent 3e961b32ab
commit 839ce793c7

View file

@ -57,8 +57,8 @@ namespace TShockAPI {
public void RegisterExamples() public void RegisterExamples()
{ {
Rest.Register(new RestCommand("/HelloWorld/name/{username}", UserTest)); Rest.Register(new RestCommand("/HelloWorld/name/{username}", UserTest) {RequiesToken = false});
Rest.Register(new RestCommand("/wizard/{username}", Wizard)); Rest.Register(new RestCommand("/wizard/{username}", Wizard) {RequiesToken = false});
} }
//The Wizard example, for demonstrating the response convention: //The Wizard example, for demonstrating the response convention: