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

https://github.com/johno/random-a11y-api

API for random-a11y
https://github.com/johno/random-a11y-api

Last synced: about 1 year ago
JSON representation

API for random-a11y

Awesome Lists containing this project

README

          

# a11y-combos

The back end for voting on accessible color combinations.

## Installation

```sh
git clone https://github.com/johnotander/a11y-combos-api.git
cd a11y-combos-api
bundle
```

## Usage

```
rails s
rake test
```

```sh
curl -H "Content-Type: application/json" -X POST -d '{"vote": { "value": true }, "combo": ["#111", "#fafafa"]}' http://randoma11y.com/votes
```