Looking to develop a web service (api) in PHP to offer customers an easier way to integrate with our platform. There are workflow calls that will be validated with user/pass as well as some reporting options.Sorry I can't post more details or code on the subject and I have never developed a web service but have had experience in using them via SOAP.Now I would also need to offer a state or status of the workflow and I think REST would be the best choice here, but still looking for opinions on that.For reporting I would like to offer different options such as XML,Excel/CSV any reason I would pick one over the other?What are some of the pitfalls I should lookout for? What are some gems anyone could offer.Thanks in advance to any help as this is very important for me to understand.UPDATE #1:
- What would be the most secure method?
- What is the most flexible method(Platform independent)