update readme

This commit is contained in:
Frank 2020-04-21 14:16:49 +02:00
parent 8ed097ea3f
commit acd894b2e1
3 changed files with 12 additions and 4 deletions

View file

@ -32,3 +32,11 @@ jobs:
### Output ### Output
- `response` Request Response as JSON String - `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
View file

@ -2632,7 +2632,7 @@ const instanceConfig = {
headers: { ...headers, ...customHeaders } headers: { ...headers, ...customHeaders }
} }
core.debug(JSON.stringify(instanceConfig)) core.debug('Instance Configuration: ' + JSON.stringify(instanceConfig))
const instance = axios.create(instanceConfig); const instance = axios.create(instanceConfig);
@ -2647,7 +2647,7 @@ const instance = axios.create(instanceConfig);
data data
} }
core.debug(JSON.stringify(requestData)) core.debug('Request Data: ' + JSON.stringify(requestData))
const response = await instance.request(requestData) const response = await instance.request(requestData)

View file

@ -36,7 +36,7 @@ const instanceConfig = {
headers: { ...headers, ...customHeaders } headers: { ...headers, ...customHeaders }
} }
core.debug(JSON.stringify(instanceConfig)) core.debug('Instance Configuration: ' + JSON.stringify(instanceConfig))
const instance = axios.create(instanceConfig); const instance = axios.create(instanceConfig);
@ -51,7 +51,7 @@ const instance = axios.create(instanceConfig);
data data
} }
core.debug(JSON.stringify(requestData)) core.debug('Request Data: ' + JSON.stringify(requestData))
const response = await instance.request(requestData) const response = await instance.request(requestData)