authToken - mattyod/wikiTest GitHub Wiki

{POST} /authToken

Some info about the /authToken endpoint

Request

{ 
  "name": { 
    "type": "string", 
    "value": "Matt" 
  }, 
  "password": { 
    "type": "string" 
  }, 
  "thing": { 
    "otherthing": { 
      "property": "hasValue" 
    } 
  } 
}

Response

{ 
  "thing": "string", 
  "boolean": false, 
  "number": 7, 
  "arrayOfStrings": ["one", "two", "three"], 
  "arrayOfNumbers": [1, 2, 3], 
  "arrayOfObjects": [{ 
    "object1": { 
      "thing": "has a thing" 
    } 
  }, { 
    "object2": { 
      "thing": "also has a thing" 
    } 
  }, { 
    "object3": { 
      "thing": "has a thing", 
      "anotherThing": "or two" 
    } 
  }], 
  "anotherThing": "abcdefg" 
}
⚠️ **GitHub.com Fallback** ⚠️