idigbio-api-hackathon / dedup

Specimen dedup code
MIT License
0 stars 0 forks source link

dedupapi

Species occurrence deduplication API

Base URL

http://comingsoon...

Developing

This is a Ruby Sinatra app, so you need Ruby (@scott using Ruby v2.3.0dev).

git clone git@github.com:idigbio-api-hackathon/dedup.git
cd dedup
bundler install

Run thin start, then hit http://localhost:3000

The endpoints so far

On the CLI

using http instead of curl

heartbeat

http --follow localhost:3000
{
    "routes": [
        "/heartbeat (GET)",
        "/dups (POST)"
    ]
}

post data

http localhost:3000/dups < test_notpretty.json