Adding nodes to drupal from remote site using ajax and post
- by andersandersson666
I'm trying to add nodes to my drupal site, from a campaignsite using AJAX request.
I have set up a menu_callback item in my hook_menu, that checks if any $_POSTs are coming in, and it works if i make a form that has the action='http://mysite.com/menucallback/url', but i get nothing in response if i make the same request with ajax.
I have access arguments set to 'access content'.
If anyone knows what might be the problem, that would be very helpful.
Thank you.
/Anders