jqueryajaxfullcontact

Need help in jquery.post() to fullcontact api


Can anybody help me how to invoke the post method provided here. I am unable to do so using the apigee console and even with jquery!

http://fullcontact.com/docs/documentation/#vcard

the call to this post method will be done using jquery.post(), any code snippets on the same will be very helpful!


Solution

  • Try using the FullContact jQuery Plugin

        var vcard = "BEGIN:VCARD\nVERSION:3.0\nEMAIL;TYPE=INTERNET:lorangb@gmail.com\nEND:VCARD";
        $.fullcontact.enrichVCard('YOUR API KEY',vcard,function(enrichedVCard){
               console.log(enrichedVCard);
        });