What is the best way to design a HTTP request when somewhat complex parameters are needed?

前端 未结 11 1007
一向
一向 2020-12-13 00:21

I have some web services that I am writing and I am trying to be as RESTful as possible. I am hosting these web services using a HTTPHandler running inside of IIS/ASP.NET/S

11条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-13 00:56

    I recommend you to read the HTTP 1.1 specification, especially the sections 3.2 Uniform Resource Identifiers and 9.1.1 Safe Methods. Those will hopefully answer your question.


    Here’s some additional information:

    • The Definitive Guide to GET vs POST
    • URIs, Addressability, and the use of HTTP GET and POST

提交回复
热议问题