I have tried the same using php as the backend. It works fine. But when I deploy in the cpanel, the dynamic route recieves html response instead of json data. How can I fix this?
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I have tried the same using php as the backend. It works fine. But when I deploy in the cpanel, the dynamic route recieves html response instead of json data. How can I fix this?