formajax
sendcodephone_numNone
url
formajax
sendcodephone_numNone
url
Brother, take a look at it
is your request body request.POST always empty? It is recommended that the front end pass a fixed parameter. If this is the case, the request information may not be in the request.POST. Add the request header information "Content-type": "application/x-www-form-urlencoded"
to the ajax.it is recommended to debug problems with IDE. If the browser reports no error, the request is successful, and not all the data requested by ajax is obtained through request.POST.
enter a fixed request header in the header parameter of ajax, such as
such as {Content-Type:application/json;chartset=utf-8}Previous: About the configuration file of laradocker
Next: Ionic3 packaging error