No video

4 Signs That Your REST API S*cks

  Рет қаралды 2,722

University of The Future

University of The Future

Күн бұрын

Пікірлер: 7
@mitchelline
@mitchelline Ай бұрын
If I see this, I'm immediately changing API: HTTP 200 { "error": "..." }
@darylphuah
@darylphuah Ай бұрын
First tip only applies if you're creating a RESTful API, if you're not, then it actually make sense to use verbs. You can handle much more complex logic and data structures in a single request rather than splitting them up into multiple chained rest APIs. 2nd tip is also bad because you're mixing up the REST endpoint entities with query filters. 3rd tip is common sense, but is sadly lacking in real world practice. 4th is duh? Overall, dislike
@rumoneanderson270
@rumoneanderson270 Ай бұрын
The first tip was great, the second one needs some work
@hamoodrex
@hamoodrex Ай бұрын
This is great. But I have to disagree on the importance of giving 201 for a created resource. If the request is documented to have a purpose of creating a resource, then what else could 200 OK mean? I do agree however that it is necessary to give relevant error codes since the outcomes may differ such as something was not found or you're not authenticated etc... but when it comes to Success messages, I don't see a point telling the person again what their purpose was
@TridentForU
@TridentForU Ай бұрын
Or, hear me out, you write your API the way it makes sense for you and everybody else writes their API the way it makes sense for them and we all write really good documentation....
@3x10.8_ms
@3x10.8_ms Ай бұрын
disliked by me
@aow6813
@aow6813 Ай бұрын
NO PLS DONT DESTROY HIS CARRER SHOW MERCY @3x10.8_ms
FASTEST Way To Learn Coding and ACTUALLY Get A Job
10:44
Brian Cache
Рет қаралды 1 МЛН
How I Would Learn Python FAST in 2024 (if I could start over)
12:19
Thu Vu data analytics
Рет қаралды 274 М.
МЕБЕЛЬ ВЫДАСТ СОТРУДНИКАМ ПОЛИЦИИ ТАБЕЛЬНУЮ МЕБЕЛЬ
00:20
SCHOOLBOY. Последняя часть🤓
00:15
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 16 МЛН
Just Give me my Money!
00:18
GL Show Russian
Рет қаралды 990 М.
How ChatGPT Built My App in Minutes 🤯
8:28
Website Learners
Рет қаралды 2,4 МЛН
3 Levels of WiFi Hacking
22:12
NetworkChuck
Рет қаралды 1,9 МЛН
Understanding B-Trees: The Data Structure Behind Modern Databases
12:39
Hacking Windows TrustedInstaller (GOD MODE)
31:07
John Hammond
Рет қаралды 594 М.
Reacting to Controversial Opinions of Software Engineers
9:18
Fireship
Рет қаралды 2,1 МЛН
5 Good Python Habits
17:35
Indently
Рет қаралды 518 М.
How programmers flex on each other
6:20
Fireship
Рет қаралды 2,4 МЛН
The 3 Laws of Writing Readable Code
5:28
Kantan Coding
Рет қаралды 523 М.
МЕБЕЛЬ ВЫДАСТ СОТРУДНИКАМ ПОЛИЦИИ ТАБЕЛЬНУЮ МЕБЕЛЬ
00:20