Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial


Blog URL...please help

How was the Url: http://blog.teamtreehouse.com/api/get_recent_summary/ created??? I have tried several urls like: http://journals.ealp.co.ke not working message: "Error getting date from blog"

2 Answers

Hi Sidney,

It can be created by running an application server on the particular domain. And by application server, i meant a web application running in the background created using either Python, Java, Ruby, PHP or any other language which could support HTTP request and response. In the above case the URL "http://blog.teamtreehouse.com/" would be set as the Context Path of the Web Application and the remaining are set by the Web application.

Hi Anand, I really appreciate that. Comprehensive. One extra clarification: Does this mean to install JBoss application server on my pc? I would appreciate a lot if you converted a link like : http://journals.estudykenya.com for me as an example. Thanks a lot.

Hi Sidney,

Yes you need to install an application server like JBoss or Apache Tomcat in your PC and host your application in the server. Once you are done with that you could access the local URLs like "http://localhost/<webapp-name>/<web-service-url>

The link you have provided is a CMS and i don't think it would serve the purpose. You could go through the following link to get a hold of how the web application runs in a JBOSS server to responds to HTTP requests. http://wiki.jetbrains.net/intellij/Developing_and_running_a_Java_EE_Hello_World_application