mirror of
https://github.com/fjogeleit/http-request-action.git
synced 2024-11-22 03:41:00 -05:00
update readme
This commit is contained in:
parent
8ed097ea3f
commit
acd894b2e1
3 changed files with 12 additions and 4 deletions
|
@ -32,3 +32,11 @@ jobs:
|
|||
### Output
|
||||
|
||||
- `response` Request Response as JSON String
|
||||
|
||||
|
||||
### Debug Informations
|
||||
|
||||
Enable Debug mode to get informations about
|
||||
|
||||
- Instance Configuration (Url / Timeout / Headers)
|
||||
- Request Data (Body / Auth / Method)
|
4
dist/index.js
vendored
4
dist/index.js
vendored
|
@ -2632,7 +2632,7 @@ const instanceConfig = {
|
|||
headers: { ...headers, ...customHeaders }
|
||||
}
|
||||
|
||||
core.debug(JSON.stringify(instanceConfig))
|
||||
core.debug('Instance Configuration: ' + JSON.stringify(instanceConfig))
|
||||
|
||||
const instance = axios.create(instanceConfig);
|
||||
|
||||
|
@ -2647,7 +2647,7 @@ const instance = axios.create(instanceConfig);
|
|||
data
|
||||
}
|
||||
|
||||
core.debug(JSON.stringify(requestData))
|
||||
core.debug('Request Data: ' + JSON.stringify(requestData))
|
||||
|
||||
const response = await instance.request(requestData)
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ const instanceConfig = {
|
|||
headers: { ...headers, ...customHeaders }
|
||||
}
|
||||
|
||||
core.debug(JSON.stringify(instanceConfig))
|
||||
core.debug('Instance Configuration: ' + JSON.stringify(instanceConfig))
|
||||
|
||||
const instance = axios.create(instanceConfig);
|
||||
|
||||
|
@ -51,7 +51,7 @@ const instance = axios.create(instanceConfig);
|
|||
data
|
||||
}
|
||||
|
||||
core.debug(JSON.stringify(requestData))
|
||||
core.debug('Request Data: ' + JSON.stringify(requestData))
|
||||
|
||||
const response = await instance.request(requestData)
|
||||
|
||||
|
|
Loading…
Reference in a new issue