Browse Source

synchronized the way we spell "rest"

master
Julio Biason 10 years ago
parent
commit
1f492cee6f
  1. 6
      rest/rest.pin

6
rest/rest.pin

@ -65,7 +65,7 @@ Em HTTP, usam-se "métodos" para descrever o que quer ser feito:
--- [../_images/20090504102402_dsc_2864 (1).jpg] --- [../_images/20090504102402_dsc_2864 (1).jpg]
Em REST, métodos HTTP viram CRUD: Em ReST, métodos HTTP viram CRUD:
• Create = POST • Create = POST
• Retrieve = GET • Retrieve = GET
@ -78,7 +78,7 @@ Em REST, métodos HTTP viram CRUD:
--- [../_images/jellybeans.jpg] --- [../_images/jellybeans.jpg]
• Em REST, "tabelas" chamadas são "recursos". • Em ReST, "tabelas" chamadas são "recursos".
• (Até porque o "R" de "URL" é "resource") • (Até porque o "R" de "URL" é "resource")
• Sempre substantivos singulares. • Sempre substantivos singulares.
• Existem duas URLs por recurso: • Existem duas URLs por recurso:
@ -122,7 +122,7 @@ Requisições sem recurso são definidas por verbos e GET:
--- [../_images/content-strategy.jpg] --- [../_images/content-strategy.jpg]
Qualquer formato, REST não define um tipo específico. Qualquer formato, ReST não define um tipo específico.
• Pode ser XML • Pode ser XML
• Pode ser JSON • Pode ser JSON

Loading…
Cancel
Save