Skip to content

Commit

Permalink
v3 instead of v2
Browse files Browse the repository at this point in the history
  • Loading branch information
elie committed Jun 11, 2019
1 parent 0d613d1 commit 123f9cc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions documentation.apib
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FORMAT: 1A
HOST: https://hack-or-snooze-v2.herokuapp.com
HOST: https://hack-or-snooze-v3.herokuapp.com

# Hack or Snooze API

Expand All @@ -22,7 +22,7 @@ No authentication is required for this endpoint.

**Request**

`curl -i https://hack-or-snooze-v2.herokuapp.com/stories`
`curl -i https://hack-or-snooze-v3.herokuapp.com/stories`

**Response**

Expand Down Expand Up @@ -57,7 +57,7 @@ curl -i \
-H "Content-Type: application/json" \
-X POST \
-d '{"user":{"name":"Test User","username":"test","password":"foo"}}' \
https://hack-or-snooze-v2.herokuapp.com/signup
https://hack-or-snooze-v3.herokuapp.com/signup
```

**Response**
Expand Down Expand Up @@ -102,7 +102,7 @@ curl -i \
-H "Content-Type: application/json" \
-X POST \
-d '{"token":"PASTE_YOUR_TOKEN_HERE", "story": {"author":"Elie Schoppik","title":"Four Tips for Moving Faster as a Developer", "url": "https://www.rithmschool.com/blog/developer-productivity"} }' \
https://hack-or-snooze-v2.herokuapp.com/stories
https://hack-or-snooze-v3.herokuapp.com/stories
```

**Response**
Expand Down

0 comments on commit 123f9cc

Please sign in to comment.