How to support multiple JSON response formats for the same endpoint

前端 未结 0 1173
一生所求
一生所求 2020-12-31 22:21

I have an endpoint that takes in an HTTP request and an "Accept" header of "application/json" and returns a list of cars on success that looks like this:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题