I need a multi-page drupal form that requests an external xml api and displays the data on the second page of the multi-page form.
I'm new to drupal and I've been reading advices on here and on drupal.org. I think I can either use the computed field on cck or I write an module to do this. I think I will do both, first using the computed field then write a module later on to get things running sooner.
I need some advice on how to create a computed field that calls an external api. Do I use curl or is there a drupal function that I can use? What drupal documents would help me and is it possible to provide a simple snippets to help me get started?
example api call https://my.example.com/XMLServices/xml?accessKey=&accountId=&form%5Fvar1=&form%5Fvar2=&form%5Fvar3=
Edit: I think its called REST api. I believe there are some modules that can help.