From 8fdcd96668c9b01fb0d8f89e57418c0ca306fd07 Mon Sep 17 00:00:00 2001 From: lol768 Date: Tue, 27 May 2014 22:06:27 +0100 Subject: [PATCH] Not JSON! :D --- API.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/API.md b/API.md index f46a945..49a75fe 100644 --- a/API.md +++ b/API.md @@ -18,7 +18,7 @@ Where uid is the user's **XenForo** user id, the token is the token set in the x Example requests: -````json +````javascript /* Request to mc-association/api/lookupUserById&uid=1&token=abc&userInfo=true */ { @@ -61,7 +61,7 @@ Example requests: } ```` -````json +````javascript /* Request to mc-association/api/lookupUserById&uid=1&token=abc */ { @@ -72,7 +72,7 @@ Example requests: } ```` -````json +````javascript /* Request to mc-association/api/lookupUserById&uid=2&token=abc */ /* User id 2 has not associated their account. */ [] @@ -90,7 +90,7 @@ Where :uuid is the user's **Minecraft** UUID in hexadecimal notation without hyp Example requests: -````json +````javascript /* Request to mc-association/api/lookupUserByUuid&uuid=34648d5df7b94f7289d19b63e7b3ecbb&userInfo=true&token=abc */ { @@ -133,7 +133,7 @@ Example requests: } ```` -````json +````javascript /* Request to mc-association/api/lookupUserByUuid&uuid=34648d5df7b94f7289d19b63e7b3ecbb&token=abc */ { @@ -156,7 +156,7 @@ Where :username is the **XenForo username** and :token is the token set in the X Example request: -````json +````javascript { "user_id": 1,