Whether you're sharing data between two internal systems or building an API so users can access their data, this practical book provides everything you need to build web service APIs with PHP. Author Lorna Jane Mitchell uses code samples, real-world examples, and advice based on her extensive experience to guide you through the process-from the underlying theory to methods for making your service robust.PHP is ideally suited for both consuming and creating web services. You'll learn how to use this language with JSON, XML, and other web service technologies.Explore HTTP, from the request/response cycle to its verbs, headers, and cookiesDetermine whether JSON or XML is the best data format for your applicationGet practical advice for working with RPC,...