Knowledge base

Welcome to Infomaniak Network's support centre, you will find the answers to the most frequently asked questions below.

Hosting »  PHP
When for example you write
$curl = curl_init();
$data = array("requete" => $req0, "users_email" => $_POST["mail"]);
//curl_setopt($curl, CURLOPT_URL, "$req0&users_email=".$_POST["mail"]);
curl_setopt($curl, CURLOPT_URL, "");
curl_setopt($curl, CURLOPT_POST, 1);
curl_setopt($curl, CURLOPT_POSTFIELDS, $data);
you need to add a user agent for your request to be accepted; indeed, we don't accept POST requests without user agent, and without the latter you will get a 403 error.
curl_setopt($curl, CURLOPT_USERAGENT, "CURL");

Link to this answer :

Online support

Email support