AJAX Requests – Accept POST and GET
-
It’d be nice to open up buddypress to allow for more extensible AJAX calls. I’ve already modified my code base to allow for both server REQUEST methods (POST and GET). I was beating my head against the wall trying to figure out why my JSON request was being ignored.
I needed to make a JSON call across domains (from one WordPress install to another) and found myself unable to access the AJAX functions that I’ve written for my custom Buddypress plugin. I know this probably does some harm to server security and makes the data integrity a little bit more questionable.
Also, it’d be nice to see the dev team get rid of the die(‘0’) statement in the bp-core-ajax-handler.php page. That 0 is a consistent nuisance that I have to strip out with additional and unnecessary javascript code.
- The topic ‘AJAX Requests – Accept POST and GET’ is closed to new replies.