Support a restclient.el scratch buffer
I've been using restclient.el and `restclient-mode` lately to test API calls, and I'm enjoying. I think it might make sense to track these scratch files in the repo. Who knows? They may serve as a form of documentation.
This commit is contained in:
parent
74211a3c02
commit
1b74342219
1 changed files with 10 additions and 0 deletions
10
monzo_ynab/requests.txt
Normal file
10
monzo_ynab/requests.txt
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
:endpoint = https://api.youneedabudget.com/v1
|
||||||
|
:access-token := (password-store-get "finance/youneedabudget.com/personal-access-token")
|
||||||
|
:budget-id := (password-store-get "finance/youneedabudget.com/budget-id")
|
||||||
|
|
||||||
|
# Test
|
||||||
|
GET :endpoint/budgets
|
||||||
|
Authorization: Bearer :access-token
|
||||||
|
|
||||||
|
# List transactions
|
||||||
|
GET :endpoint/budgets/:budget-id/transactions
|
Loading…
Reference in a new issue