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:
William Carroll 2020-02-07 21:35:18 +00:00
parent 74211a3c02
commit 1b74342219

10
monzo_ynab/requests.txt Normal file
View 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