Axios: Setting rejectUnauthorized to false using httpsAgent to ignore SSL issues doesn’t work with POST requests
I’m using axios with NodeJS to query the REST API of Mikrotik RouterOS for that you need to use self-signed SSL certificates mandatorily.
It all works fine when i run GET requests and add httpsAgent: new https.Agent({ rejectUnauthorized: false})
.
But all other methods fail and I get this error: