Skip to content

Instantly share code, notes, and snippets.

@miguelramos
Last active August 29, 2015 14:00
Show Gist options
  • Save miguelramos/7901fef4d710380fb234 to your computer and use it in GitHub Desktop.
Save miguelramos/7901fef4d710380fb234 to your computer and use it in GitHub Desktop.
Business API
Request (/create/product/obras/123)
|
|------- POST BODY {"price": "20", "available": "true", "quantity": "5", "description": "O meu lindo produto", "vat": "1"}
----------------------------------
| |
| API LOGIC |
| |
----------------------------------
ECOMMERCE
--------
| |
| EC |
| |
--------
----------------------------------
| |
| API DATA |
| |
----------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment