PHP Web Services: APIs for the Modern Web

PHP Web Services: APIs for the Modern Web

Whether you’re sharing facts among inner platforms or development an API in order that clients can entry their information, this sensible advisor has every little thing you must construct APIs with personal home page. writer Lorna Jane Mitchell presents plenty of hands-on code samples, real-world examples, and recommendation in response to her large adventure to steer you thru the process—from the underlying idea to tools for making your provider robust.

You’ll the right way to use this language to paintings with JSON, XML, and different net provider applied sciences. This up to date moment version comprises new instruments and lines that mirror Hypertext Preprocessor updates and adjustments at the Web.

  • Explore HTTP, from the request/response cycle to its verbs, headers, and cookies
  • Work with and submit webhooks—user-defined HTTP callbacks
  • Determine no matter if JSON or XML is the easiest information layout to your application
  • Get suggestion for operating with RPC, cleaning soap, and RESTful services
  • Use a number of instruments and strategies for debugging HTTP internet services
  • Choose the provider that works top in your program, and how to make it robust
  • Document your API—and find out how to layout it to deal with errors

Show sample text content

Download sample