Adding nodes to drupal from remote site using ajax and post
Posted
by andersandersson666
on Stack Overflow
See other posts from Stack Overflow
or by andersandersson666
Published on 2010-06-10T09:06:25Z
Indexed on
2010/06/10
13:32 UTC
Read the original article
Hit count: 305
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
© Stack Overflow or respective owner