Changes between Initial Version and Version 1 of Ticket #32646, comment 5


Ignore:
Timestamp:
Apr 13, 2021, 2:52:59 PM (3 years ago)
Author:
Collin Anderson

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #32646, comment 5

    initial v1  
    11I can see the case for content negotiation.
    22
    3 My two sense: In browsers, there's a standard `.json()` method for http responses [0], and the Python `requests` library also has `.json()` method, so a simple `.json()` method is becoming more of the norm for a lot of simple use cases.
     3My two cents: In browsers, there's a standard `.json()` method for http responses [0], and the Python `requests` library also has `.json()` method, so a simple `.json()` method is becoming more of the norm for a lot of simple use cases.
    44
    55I don't think I'd be wrong if I said most apis only need to speak json. Content negotiation, while needed for some use cases, is probably overkill for many people's. Some people aren't going to want their endpoint to accept xml and yaml.
Back to Top