"application/json" is good for any modern http servers such as express.js
"multipart/form-data" is good for PHP, you just need to parse the json by json_decode($_POST['data'])