Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wildlyinaccurate/dinosaurs-as-a-service

Dinosaurs as a service!
https://github.com/wildlyinaccurate/dinosaurs-as-a-service

Last synced: 5 days ago
JSON representation

Dinosaurs as a service!

Awesome Lists containing this project

README

        

# Dinosaurs as a Service

## THE HIGHLY ANTICIPATED DINOSAUR REST API

Based on the fantastic [jden/dinosaurs](https://github.com/jden/dinosaurs).

## Usage

```
$ node index.js

dinosaurs listening at http://:::8000
```

```
$ curl -i localhost:8000/dinosaurs
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 4532
Date: Fri, 13 Feb 2015 09:59:38 GMT
Connection: keep-alive

["acanthopholis","acrocanthosaurus","adasaurus",..."zizhongosaurus"]%
```

```
$ curl -i localhost:8000/dinosaurs/6
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 13
Date: Fri, 13 Feb 2015 10:00:04 GMT
Connection: keep-alive

"agilisaurus"%
```