Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Expand API test code.
James Cole2428a2a7c54b
diff --git a/resources/views/test/api-test.twig b/resources/views/test/api-test.twigindex 3de602996e..3c780d57f5 100644--- a/resources/views/test/api-test.twig+++ b/resources/views/test/api-test.twig@@ -34,6 +34,38 @@'X-CSRF-Token': $('meta[name="csrf-token"]').attr('content'),},});+ $.ajax({+ url: 'api/v1/budgets?size=50&date=2025-08-06&start=2025-08-01&end=2025-08-31',+ type: 'GET',+ headers: {+ 'Content-Type': 'application/json',+ 'X-CSRF-Token': $('meta[name="csrf-token"]').attr('content'),+ },+ });+ $.ajax({+ url: 'api/v1/budgets/1/limits?size=50&date=2025-08-06&start=2025-08-01&end=2025-08-31',+ type: 'GET',+ headers: {+ 'Content-Type': 'application/json',+ 'X-CSRF-Token': $('meta[name="csrf-token"]').attr('content'),+ },+ });+ $.ajax({+ url: 'api/v1/categories?size=50&date=2025-08-06&start=2025-08-01&end=2025-08-31',+ type: 'GET',+ headers: {+ 'Content-Type': 'application/json',+ 'X-CSRF-Token': $('meta[name="csrf-token"]').attr('content'),+ },+ });+ $.ajax({+ url: 'api/v1/bills?size=50&date=2025-08-06&start=2025-08-01&end=2025-08-31',+ type: 'GET',+ headers: {+ 'Content-Type': 'application/json',+ 'X-CSRF-Token': $('meta[name="csrf-token"]').attr('content'),+ },+ });});</script>