Answer the question
In order to leave comments, you need to log in
Why do I get "404 *.json not found" when I try to write information to json?
Good afternoon!
There is an AJAX request:
$.ajax({
type: "POST",
url: "/jsons/accounts.json",
data: params,
dataType: "text"
});
Answer the question
In order to leave comments, you need to log in
Ufff... That's all))
The url parameter specifies the data handler for post. You need to transfer the script to the php, and there the data that has already arrived is shoved into a file.
And the way. Obviously a 404 error.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question