correctly send the json body

This commit is contained in:
Emilien Devos 2024-04-22 00:03:29 +02:00
parent ea4d456cb4
commit f14d71df20
2 changed files with 3 additions and 7 deletions

View file

@ -54,7 +54,6 @@ jobs:
var request = require("request");
var options = { method: 'POST',
url: 'https://api.uptimerobot.com/v2/newMonitor',
json:true,
headers:
{ 'content-type': 'application/x-www-form-urlencoded',
'cache-control': 'no-cache' },