Outputs
Details about the stack are output for use in additional steps.
| Output Name | Output Description |
|---|---|
| status | Response Status |
| headers | Response Headers |
| data | Response Data |
See the Workflow Usage section for example usage.
status
Response Status Code
headers
Response Headers
data
Response Data
Workflow Usage
Using the outputs in a workflow.
yaml
- name: 'Web Request'
id: test
uses: cssnr/web-request-action@v1
with:
url: https://httpbin.org/post
- name: 'Echo Output'
run: |
echo 'status: ${{ steps.test.outputs.status }}'
echo 'headers: ${{ steps.test.outputs.headers }}'
echo 'data: ${{ steps.test.outputs.data }}'
WARNING
These docs are not finished. Please see the README.md on GitHub.
