Answer the question
In order to leave comments, you need to log in
json php output?
I'm taking out now
die(json_encode(['error' => ['code' => 100, 'message' => 'Метод не задан.']]));
{"error":{"code":100,"message":"\u041c\u0435\u0442\u043e\u0434 \u043d\u0435 \u0437\u0430\u0434\u0430\u043d."}}
header('Content-Type: application/json');
header('Accept: application/json');
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question