What am I not understanding about REST?

后端 未结 7 1567
误落风尘
误落风尘 2020-11-28 23:55

I\'m building a framework and want developers who build with it to have the ability to allow parts of it to both share data with other sites and allow other sites to add/edi

相关标签:
7条回答
  • 2020-11-29 00:45

    From the RestWiki:

    • A GET to an identifier means "Give me a copy of your information in a particular document format".
    • A PUT to that identifier means "Replace your information with mine".
    • POST adds information, and
    • DELETE eliminates information.

    With this in mind, applying it to your application should be quite straightforward.

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