Created
April 16, 2016 22:10
-
-
Save abuiles/ab45837aacdf767e6c1380ef67009c6f to your computer and use it in GitHub Desktop.
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
curl http://localhost:3000/loans -X POST \ | |
-H 'Content-Type: application/vnd.api+json' \ | |
--data-binary '{"data":{"type": "loans","attributes": {"notes": "Minor issue with the throttle","returned": false},"relationships":{"article": {"data":{"type": "articles", "id": "2"}}}}}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment