TEMP : try to return an array without json type
continuous-integration/drone/push Build is passing Details

master
dorian.hodin 2 years ago
parent 8f57f8f765
commit b238f08931

@ -44,8 +44,8 @@ try{
}
}
}
//return $response;
return $response->withHeader('Content-type', 'application/json');
return $response;
//return $response->withHeader('Content-type', 'application/json');
});
}catch (TypeError $t){
echo "Error, wrong parameters key, or no parameters write : ".$t->getMessage();

Loading…
Cancel
Save