Skip to content

Instantly share code, notes, and snippets.

@mattbrailsford
Last active December 19, 2015 10:19
Show Gist options
  • Save mattbrailsford/5939980 to your computer and use it in GitHub Desktop.
Save mattbrailsford/5939980 to your computer and use it in GitHub Desktop.

Input:

  • TODO

Output:

TODO

Input:

  • email
  • password

Output:

{
  "apiKey":"1234"
}

Input:

  • email
  • apiKey
  • categoryId

Output:

[
   {
      "Id":2,
      "Name":"Semi-Skimmed Milk 1l",
      "Description":"Milk, semi-skimmed, medium bottle",
      "Price":1.00,
      "Image":"semi-milk-1l.jpg"
   }
]

Input:

  • email
  • apiKey

Output:

[
   {
      "Id":2,
      "Name":"Bread",
      "Description":"A selection of breads",
      "Image":"bread.png"
   },
   ...
]

Input:

  • email
  • apiKey

Output:

[
   {
      "Id":1,
      "Name":"GM Dairies",
      "Description":"Main dairy for Got Milk Ltd",
      "Email":"[email protected]",
      "Phone":"01226 234567",
      "Address1":"DMC Barnsley",
      "Address2":"County Way",
      "Town":"Barnsley",
      "Postcode":"S70 1DM",
      "Image":""
   },
   ...
]

Input:

  • TODO

Output:

TODO

Input:

  • TODO

Output:

TODO

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment