olo-coding / blueberryscone

Source viewer, more readable and more references
Apache License 2.0
0 stars 0 forks source link

GET request implementation #3

Open chungha opened 9 years ago

chungha commented 9 years ago

GET /source-name -> Response simple html + source and entity data

chungha commented 9 years ago

Response json format

mjpark03 commented 9 years ago

commit: 7027ea8b00d7cb56b38197787c2b3d4a36b79fc9

chungha commented 9 years ago

One more depth directory which means the name of source requested has been added. If the name doesn't exist, 404 response will be sent. http://localhost:3000/source/sample

And please split the test code and the prod code and don't name an object as only 'test'.