<?php // Fausse API qui reçoit le choix du mail echo json_encode('ok'); //TODO ?>