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"