# Complete beginner with Web APIs and REST.  Have been asked to create something.

**URL:** <https://boards.straightdope.com/t/complete-beginner-with-web-apis-and-rest-have-been-asked-to-create-something/656841>\
**Category:** Factual Questions\
**Created:** [April 27, 2013, 2:37pm UTC](https://boards.straightdope.com/t/complete-beginner-with-web-apis-and-rest-have-been-asked-to-create-something/656841 "2013-04-27T14:37:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lobsang](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/lobsang/32/4067_2.png) [@Lobsang](https://boards.straightdope.com/u/Lobsang)\
**Post date:** [April 27, 2013, 2:37pm UTC](https://boards.straightdope.com/t/complete-beginner-with-web-apis-and-rest-have-been-asked-to-create-something/656841/1 "2013-04-27T14:37:17Z")

</div>

Hi.

I wondered if somebody might be able to guide me in a good direction for getting started writing a web application that talks to a REST API.

I have a fair grip of PHP, Javascript, Jquery, (with some experience of AJAX) but have never even come close to working with an API before.

Would there be a way of building a very simple little pointless application that would ‘simulate’ the way an application talks to a REST API?

Or does anyone know of a resource that will help a complete beginner get started writing somethign that can talk to a REST API?

---

<div class="post-metadata">

**Author:** ![tanstaafl](https://avatars.discourse-cdn.com/v4/letter/t/ba8739/32.png) [@tanstaafl](https://boards.straightdope.com/u/tanstaafl)\
**Post date:** [April 27, 2013, 2:40pm UTC](https://boards.straightdope.com/t/complete-beginner-with-web-apis-and-rest-have-been-asked-to-create-something/656841/2 "2013-04-27T14:40:40Z")

</div>

Here’s a complete walkthru of how to create one using Node, which is just server-side javascript so you should be able to follow it.

> **[Creating a REST API using Node.js, Express and MongoDB - TUTORIAL](https://coenraets.org/blog/2012/10/creating-a-rest-api-using-node-js-express-and-mongodb/)**
>
> REST APIs are highly sought after in the present day. In this tutorial we will learn how to create a REST API using Node.js, Express and MongoDB

---

<div class="post-metadata">

**Author:** ![Lobsang](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/lobsang/32/4067_2.png) [@Lobsang](https://boards.straightdope.com/u/Lobsang)\
**Post date:** [April 27, 2013, 2:45pm UTC](https://boards.straightdope.com/t/complete-beginner-with-web-apis-and-rest-have-been-asked-to-create-something/656841/3 "2013-04-27T14:45:53Z")

</div>

Thanks!

I will start reading through that. It looks like it will be easy to follow.
