Skip to content

Instantly share code, notes, and snippets.

@ritalin
Created June 4, 2015 05:33
Show Gist options
  • Save ritalin/8cfdb37704a33fc2bd14 to your computer and use it in GitHub Desktop.
Save ritalin/8cfdb37704a33fc2bd14 to your computer and use it in GitHub Desktop.
> php .\bootstrap\api.php get "/weekday/2015/5/5"
200 OK
content-type: application/hal+json
{
"weekday": "Tue",
"action": "/weekday",
"year": "2015",
"month": "5",
"day": "5",
"_links": {
"self": {
"href": "/weekday/2015/5/5"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment