Last active
February 18, 2021 00:36
-
-
Save skobba/de73dc0df176a8ea76d5be7447711531 to your computer and use it in GitHub Desktop.
curl
This file contains hidden or 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
| # POST w/ token | |
| curl -H "Authorization: bearer $TOKEN" -H "Content-Type: application/json" -X POST -d ' | |
| { "invoice": | |
| { | |
| "matter": "5bc9a264da9a42bee9c9cf48", | |
| "unitPrice": 10200 | |
| } | |
| }' http://localhost:4000/api/invoices | |
| # POST | |
| curl -H "Content-Type: application/json" -X POST -d ' | |
| { "invoice": | |
| { | |
| "matter": "5bc9a264da9a42bee9c9cf48", | |
| "unitPrice": 10200 | |
| } | |
| }' http://localhost:4000/api/invoices |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment