RESTful HTTP response codes

后端 未结 5 520
天涯浪人
天涯浪人 2020-12-29 01:06

I\'m developing a simple RESTful API, and utterly in love with how minimalistic it is. But I\'m uncertain as to the correct HTTP response codes for various situations:

5条回答
  •  盖世英雄少女心
    2020-12-29 01:19

    why not use the standard http response codes . You would get all the optimizations ( for ex, 303, 304 )/ infrastructure put in place for http for free .

提交回复
热议问题