mirror of
https://github.com/ellite/Wallos.git
synced 2026-02-22 06:19:24 -06:00
fix: incorrect headers on the api (#802)
This commit is contained in:
@@ -35,7 +35,7 @@ Example response:
|
||||
|
||||
require_once '../../includes/connect_endpoint.php';
|
||||
|
||||
header('Content-Type: application/json, charset=UTF-8');
|
||||
header('Content-Type: application/json; charset=UTF-8');
|
||||
|
||||
if ($_SERVER["REQUEST_METHOD"] === "POST" || $_SERVER["REQUEST_METHOD"] === "GET") {
|
||||
// if the parameters are not set, return an error
|
||||
|
||||
Reference in New Issue
Block a user