I'm trying to club Drupal & Magento together. So I want to make the registration seamless. If any user register in Drupal they want to register in Magento automatically using a custom module in Drupal. I have scripts to register in Magento by sending data to Magento script file.
I want to know how to make a AJAX call to that script file, using a custom Drupal module. I'm using Drupal 7 version.