Add content type header to JSON response - refs #7338

1.9.x
Angel Fernando Quiroz Campos 11 years ago
parent 3e500c8e58
commit b852f7402c
  1. 1
      webservices/rest.php

@ -76,4 +76,5 @@ switch ($action) {
}
/* View */
header('Content-Type: application/json');
echo json_encode($json);

Loading…
Cancel
Save