const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/x-www-form-urlencoded'},
body: new URLSearchParams({
id: '<string>',
name: '<string>',
url_template: '<string>',
verify_type: '<string>',
verify_url: '<string>',
verify_method: '<string>',
verify_success_value: '<string>',
verify_json_path: '<string>',
secret_key: '<string>',
description: '<string>',
reward_ids: '<string>',
delay_mode: '<string>',
delay_minutes: '<string>',
reset_time: '<string>',
is_enabled: '<string>'
})
};
fetch('https://siteadresiniz.example/Files/Controllers/ControllersAll.php', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));