Creating a basic web services in php

前端 未结 1 1662
臣服心动
臣服心动 2021-01-05 00:41

I want to find how to create a simple web service using PHP. I am new to web service. Is there any tutorial so I can learn it from the start. Thanks all.

I want to h

相关标签:
1条回答
  • 2021-01-05 00:48

    There is nothing particularly special about a web service when compared to any other kind of site. The major difference is that output is generally in a format other than HTML, these days it is usually JSON, which has its own section in the PHP manual

    Aside from that it is just a matter of having sensible URIs, which may take sensible query strings or post data, and may require some kind of authentication (just like any other site).

    0 讨论(0)
提交回复
热议问题