25 Aug
2009
25 Aug
'09
6:34 p.m.
Hello all. For one of my clients, we have a long multistep form that we use to collect information for a user and enroll him / her in a course. One thing we would like to do is POST some information to an external API. Is it possible, using the FAPI, to POST data to an external source? I was going to user $form['#method'], however, that only allows internal paths. Worst case scenario, I could create a custom submit callback which POSTS the data over using CURL, but I am hoping to find a more elegant solution. Any suggestions? Thanks in advance, Brian