From 450a5fcc9f7176bb97bd67d296482d05b6a8fc33 Mon Sep 17 00:00:00 2001 From: MarkusJoe Date: Sat, 9 Apr 2022 22:12:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=BA=86=E5=BF=AB=E9=80=9F?= =?UTF-8?q?=E6=B5=8B=E8=AF=95API=E7=9A=84http=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/tests/test_APIs.http | 61 +++++++++++++++++++++++++++++++++++ app/tests/test_APIs_curl.curl | 0 2 files changed, 61 insertions(+) create mode 100644 app/tests/test_APIs.http create mode 100644 app/tests/test_APIs_curl.curl diff --git a/app/tests/test_APIs.http b/app/tests/test_APIs.http new file mode 100644 index 0000000..5122321 --- /dev/null +++ b/app/tests/test_APIs.http @@ -0,0 +1,61 @@ +GET http://127.0.0.1:5000/api/v1/overall/?limit=20 +Accept: application/json + +### + +GET http://127.0.0.1:5000/api/v1/query/?name=test-example +Accept: application/json + +### + +GET http://127.0.0.1:5000/api/v1/theme/?name=lewd +Accept: application/json + +### + +POST http://127.0.0.1:5000/api/v1/overall/?limit=20 +Accept: application/json + +### + +POST http://127.0.0.1:5000/api/v1/query/?name=test-example +Accept: application/json + +### + +POST http://127.0.0.1:5000/api/v1/theme/?name=lewd +Accept: application/json + +### + + +GET https://requestcounter.herokuapp.com/api/v1/overall/?limit=20 +Accept: application/json + +### + +GET https://requestcounter.herokuapp.com/api/v1/query/?name=test-example +Accept: application/json + +### + +GET https://requestcounter.herokuapp.com/api/v1/theme/?name=lewd +Accept: application/json + +### + +POST https://requestcounter.herokuapp.com/api/v1/overall/?limit=20 +Accept: application/json + +### + +POST https://requestcounter.herokuapp.com/api/v1/query/?name=test-example +Accept: application/json + +### + +POST https://requestcounter.herokuapp.com/api/v1/theme/?name=lewd +Accept: application/json + +### + diff --git a/app/tests/test_APIs_curl.curl b/app/tests/test_APIs_curl.curl new file mode 100644 index 0000000..e69de29