Answer the question
In order to leave comments, you need to log in
How to check that the request was sent with fetch in Yii2?
There are functions like isAjax, but there is no function that would check that the request was sent with fetch. How to check it on the server side - in PHP or Yii2 capabilities? It is necessary to exclude (not completely, but to make an obstacle) the possibility of data parsing.
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