markerikson / marks-dev-blog-comments

Comments for my blog

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How Web Apps Work: AJAX, APIs, and Data Transfer

utterances-bot opened this issue · comments

How Web Apps Work: AJAX, APIs, and Data Transfer · Mark's Dev Blog

https://blog.isquaredsoftware.com/2020/11/how-web-apps-work-ajax-apis-data/

Finished the other 4 articles and excited to get started on this one. Thanks for sharing your knowledge!

Thank you for the series!

commented

Data Transfer Protocols => REST

Shouldn't Create one user: POST /users/42 (body: {name : "Mark"}) be Create one user: POST /users (body: {name : "Mark"}) because at the time of creation we don't know the ID of the user being created?

Great article, it helps with getting more comfortable with web technologies.
Btw for new readers, the fetch API is now supported in Node 18+.