Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nickatnight authored Mar 23, 2023
1 parent f1d30ef commit 5685f9a
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ $ curl --request GET \
--header 'accept: application/json'
```

Example response:
Example 200 response:

```json
{
Expand All @@ -31,6 +31,14 @@ Example response:
}
```

Example 400 response:

```json
{
"error": "There was an error with NewsAPI. Please try again later."
}
```

## Why?

For fun 🤡...and to ramp up on TypeScript/Node/ExpressJS. This API is bascially a thin wrapper around [NewsAPI](https://newsapi.org/), and deployed using DigitalOceans App Platform.
Expand Down

0 comments on commit 5685f9a

Please sign in to comment.