Skip to content

Instantly share code, notes, and snippets.

@kauril
Last active April 27, 2016 06:26
Show Gist options
  • Save kauril/10e4408de6de0fd084d92d42f944466d to your computer and use it in GitHub Desktop.
Save kauril/10e4408de6de0fd084d92d42f944466d to your computer and use it in GitHub Desktop.

BaseURL = http://recipes-kauris.rhcloud.com/

/recipes example: /recipes?name=kananmuna return recipe how to boil an egg and recipe ID. ... { "ID": "1", "NAME": "Jauhelihakastike", "RECIPE": "Ruskista jauheliha" } ...

... /users example: /users?ID=1 returns information about Timo. { "ID": "1", "FIRSTNAME": "Timo", "LASTNAME": "Silakka", "EMAIL": "ts@mail.com", "USERNAME": "TS", "PASSWORD": "*******" } ...

... /ingredients example: /ingredients?NAME=sipuli returns onion ID. { "ID": "1", "NAME": "Sipuli" } ...

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