Skip to content

idigbio-api-hackathon/dedup

Repository files navigation

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 [email protected]:idigbio-api-hackathon/dedup.git
cd dedup
bundler install

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

The endpoints so far

  • / (redirects to /heartbeat)
  • /heartbeat (GET)
  • /dups (POST)

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

Releases

No releases published

Packages

No packages published