Welcome Guest, Not a member yet? Register   Sign In
Sending form data directly to a web service
#1

[eluser]eokorie[/eluser]
Hi all,

Is it possible to send form data directly to a web service? I am currently designing a from that will allow a customer to enter his/her name, a reference number and telephone number as well as the ability to select whether they want to receive an immediate callback or a callback at a later time.

Thing I want to know is whether this information can be sent directly to a web service or does it have to be formatted in a certain way before that is possible? Current starting to dabble with web services so be gentle.

Thanks
#2

[eluser]Ben Edmunds[/eluser]
It depends on the web service...
#3

[eluser]eokorie[/eluser]
Hi Ben

I don't if you have heard of Noble's AMCAT system, but basically what's supposed to happen is that a customer's details are sent and these in turn are used to generate phone calls depends on when the customer wants to be contacted.
#4

[eluser]Ben Edmunds[/eluser]
Sorry but I've never heard of it.

What you want to do is just read their documentation and make sure you are sending over the correct data, in the correct format.

You'd probably be doing yourself a favor if you read up on PHP's curl.
#5

[eluser]jcavard[/eluser]
this might come in handy.
[url="http://github.com/philsturgeon/codeigniter-curl"]Phil Sturgeon's cURL Class[/url]




Theme © iAndrew 2016 - Forum software by © MyBB