php - POST Request not working, but GET works an lokal all works -


i trying post request ajax. site http://www.learn-it-up.de/sap-kurse/ ajax post http://www.learn-it-up.de/wp-content/themes/lms/framework/courses_utils.php returns 403 forbidden.

when call site http://www.learn-it-up.de/wp-content/themes/lms/framework/courses_utils.php direkt in brwoser (get) works! post not working.

when try on localhost works too! configurations can change work?

i can not post ajax request because not allowed publish code, sag on localhost working.

by way using wordpress.

it server configuration rejecting post http method. maybe have mod_rewrite (i'm assuming apache) rules in server redirecting post someplace else.

moreover, infrastructure or configuration of both server , wordpress instance testing entirely different environment, maybe have nginx in between or other component interfering, etc.

compare configurations , infrastructure between local environment , server , find answer.


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -