cmda-bt / be-course-17-18

🎓 Backend · 2017-2018 · Curriculum and Syllabus 💾
Other
47 stars 19 forks source link

Transfer assignment #466

Closed GuusDijkhuis closed 6 years ago

GuusDijkhuis commented 6 years ago

Inside the document below are the codes with comments.

cheatsheet_http.txt

wooorm commented 6 years ago

Very nice! I like the cheat sheet. For the XML part, you say: “De Accept opent een bestand als een XML bestand”, that’s not entirely true, as --header 'Accept: application/xml' is more like the client asking the server for XML. And for authorization: some stuff is not possible for everyone, so a server gives you a token (or some other mechanism) that you can authenticate with: basically like “hey, this is my key, you can check if it’s valid”!