From 0232f0242fa438f7a882ff790a2487fb4e17293d Mon Sep 17 00:00:00 2001 From: Adeshile Oluwatosin <105433596+TheTosin@users.noreply.github.com> Date: Fri, 23 Aug 2024 23:17:14 -0700 Subject: [PATCH] Update run-postman-tests.yaml Signed-off-by: Adeshile Oluwatosin <105433596+TheTosin@users.noreply.github.com> --- .github/workflows/run-postman-tests.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/run-postman-tests.yaml b/.github/workflows/run-postman-tests.yaml index c7e82a3..b711c59 100644 --- a/.github/workflows/run-postman-tests.yaml +++ b/.github/workflows/run-postman-tests.yaml @@ -26,8 +26,8 @@ jobs: run: | newman run status/postman/telex_postmancollection_v1.json --reporters cli,json --reporter-json-export report.json - - name: Send API Status + - name: Upload Newman Report to API run: | - curl -X POST "${{ vars.API_URL }}/api/v1/api-status" \ - -H "Content-Type: application/json" \ - -d @report.json + curl -X POST ${{ vars.API_URL }}/api/v1/api-status \ + -H "Content-Type: multipart/form-data" \ + -F "result_file=@report.json"