Тёмный

Beautiful REST & JSON APIs 

InfoQ
Подписаться 231 тыс.
Просмотров 99 тыс.
50% 1

Опубликовано:

 

7 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 21   
@learningtolovethephilippines
@learningtolovethephilippines 10 лет назад
Great talk! This completely laid out everything about REST APIs. With reasonable best practices too. Best practices that are indeed true to Facebook, Twitter, Google REST APIs. Thanks a lot for this.
@sheerun
@sheerun 11 лет назад
I'd additionally: 1. Use X - header field instead of parameters like _body (for example X-H TTP-Method) 3. In post response return only Location to resource, no content. Well configured API client will follow redirection and fetch new resource (including browsers) 4. Use absolute or even relative links in JSON (no need to include domain) 5. Use PATCH for partial updates, and POST for issuing actions on resources. 6. Use underscore instead of camel case in JSON (readable; ruby client?)
@VinceThyng
@VinceThyng 10 лет назад
Awesome video. Just want I needed while getting started on designing a REST+JSON based service.
@hitchco
@hitchco 10 лет назад
In nodejs I hope
@NiranjanNanda
@NiranjanNanda 10 лет назад
Very nice and informative talk. One question on security aspect; what are the best practices (or what are the practices Stormpath follows) to handle XSS and CSRF? Thank you.
@StevenNess
@StevenNess 10 лет назад
Excellent talk, and great information. Thanks!
@linuskohl2876
@linuskohl2876 6 лет назад
Amazing talk! Thanks
@azhder
@azhder 11 лет назад
rfc 5789 is not without undefined use-cases, I think there will be another rfc supplementing (or replacing) it
@prax39
@prax39 11 лет назад
I know rails 4.0 has embraced Patch as their defacto update method, which might help push the rfc 5789 forward..
@s3340985
@s3340985 10 лет назад
Missed a quote before the value at 31:55
@MattRussellUK
@MattRussellUK 10 лет назад
Hmm...partial updates are totally idempotent in my book.
@sethysiba
@sethysiba 10 лет назад
Thanks this was pretty helpful
@prax39
@prax39 11 лет назад
Great video! are the slides posted anywhere?
@danielalmeida7140
@danielalmeida7140 8 лет назад
Why does everything have to have hrefs spit out? Why is it that I can't just ask for an account (for example) and have everything expanded by default?
@the-real-chaosaffe
@the-real-chaosaffe 8 лет назад
+Daniel Lima de Almeida there are several reasons as mentioned in the video. A few of those are - Metered API's - Not required in all (most) instances - Reduce serve latency
@praguepanda
@praguepanda 11 лет назад
The convention is to use underscores instead of camelCase in JSON.
@grzegorztomasiak
@grzegorztomasiak 5 лет назад
that is not true. Even though there is no offical standard, it's observed that camelCase is the way to go
@prax39
@prax39 11 лет назад
found it thanks!
@andreineculau
@andreineculau 11 лет назад
If you are a newbie trying to learn about H TTP and REST, then take all of this with lots of grains of salt.
Далее
Fake watermelon by Secret Vlog
00:16
Просмотров 7 млн
Mark Rober vs Dude Perfect- Ultimate Robot Battle
19:00
Designing a Beautiful REST+JSON API
1:25:53
Просмотров 129 тыс.
Designing Quality APIs (Cloud Next '18)
40:51
Просмотров 75 тыс.
What Are APIs? - Simply Explained
6:49
Просмотров 882 тыс.
Design Microservice Architectures the Right Way
48:30
Просмотров 711 тыс.
The Tragedy of systemd
47:18
Просмотров 1,1 млн
Intro to REST
13:57
Просмотров 914 тыс.
How To Design A Good API and Why it Matters
1:00:15
Просмотров 130 тыс.
Mastering Chaos - A Netflix Guide to Microservices
53:14
Fake watermelon by Secret Vlog
00:16
Просмотров 7 млн