Nothing in the body it doesn’t look like…
response: {
status: 400,
statusText: ‘Bad Request’,
headers: {
date: ‘Wed, 26 Aug 2020 19:38:49 GMT’,
‘content-type’: ‘application/json; charset=UTF-8’,
‘transfer-encoding’: ‘chunked’,
connection: ‘close’,
‘set-cookie’: [Array],
vary: ‘Accept-Encoding’,
‘cf-cache-status’: ‘DYNAMIC’,
‘cf-request-id’: ‘04cde0bfd90000c9b110075200000001’,
…
},
config: {
url: {secret}
method: ‘post’,
data: [FormData],
headers: [Object],
transformRequest: [Array],
transformResponse: [Array],
timeout: 0,
adapter: [Function: httpAdapter],
xsrfCookieName: ‘XSRF-TOKEN’,
xsrfHeaderName: ‘X-XSRF-TOKEN’,
maxContentLength: -1,
validateStatus: [Function: validateStatus]
},
request: <ref *1> ClientRequest {
_events: [Object: null prototype],
_eventsCount: 6,
_maxListeners: undefined,
outputData: ,
outputSize: 0,
writable: true,
destroyed: false,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
useChunkedEncodingByDefault: true,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
_contentLength: null,
_hasBody: true,
_trailer: ‘’,
finished: true,
_headerSent: true,
socket: [TLSSocket],
_header: ‘POST {secret} HTTP/1.1\r\n’ +
‘Accept: application/json, text/plain, /\r\n’ +
‘Content-Type: multipart/form-data; boundary=--------------------------543277250383579290208759\r\n’ +
‘Content-Length: 3114573\r\n’ +
‘X-Auth-Key {secret}’ +
‘X-Auth-Email: {secret}’ +
‘User-Agent: axios/0.19.2\r\n’ +
‘Host: api.cloudflare.com\r\n’ +
‘Connection: close\r\n’ +
‘\r\n’,
_onPendingData: [Function: noopPendingOutput],
agent: [Agent],
socketPath: undefined,
method: ‘POST’,
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
path: ‘{secret}’,
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: ‘api.cloudflare.com’,
protocol: ‘https:’,
_redirectable: [Writable],
[Symbol(kCapture)]: false,
[Symbol(kNeedDrain)]: true,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype]
},
data: { result: null, success: false, errors: [Array], messages: null }
},
isAxiosError: true,
toJSON: [Function (anonymous)]
}