Created
November 18, 2013 22:18
-
-
Save selahlynch/7536397 to your computer and use it in GitHub Desktop.
Rough description of our Data API from Forio Simulate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Description of JSON object | |
{hires:[ | |
{company:xxx1, employee:yyy1, salary:zzz1}, | |
{company:xxx2, employee:yyy2, salary:zzz2}, | |
{company:xxx3, employee:yyy3, salary:zzz3} | |
]} | |
to get the salary of employee#2 | |
GET /hires/1/salary | |
to change the salary of employee#2 | |
PUT /hires/1/salary, value=newSalary | |
to record a new hire |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment