errorWithJSON.php 134 B

123456
  1. <?php
  2. header("HTTP/1.0 400 Bad Request");
  3. header("Content-Type: application/json");
  4. echo '{ "code": 40, "message": "Bad Request" }';