Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
D3vd committed Sep 17, 2019
1 parent 593afe4 commit 5c4d7a1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ API Link : https://meme-api.herokuapp.com/gimme

In order to get multiple memes in a single request specify the count with the following endpoint.

Endpoint: [/gimme/<count>](https://meme-api.herokuapp.com/gimme/2)
Endpoint: [/gimme/{count}](https://meme-api.herokuapp.com/gimme/2)

Example: https://meme-api.herokuapp.com/gimme/2

Expand Down Expand Up @@ -53,15 +53,15 @@ Response:

By default the API grabs a random meme from '_memes_', '_dankmemes_', '_meirl_' subreddits. To provide your own custom subreddit use the following endpoint.

Endpoint: [/gimme/<subreddit>](https://meme-api.herokuapp.com/gimme/dankmemes)
Endpoint: [/gimme/{subreddit}](https://meme-api.herokuapp.com/gimme/dankmemes)

Example: https://meme-api.herokuapp.com/gimme/dankmemes

#### Specify Subreddit Count :

In order to get a custom number of memes from a specific subreddit provide the name of the subreddit and the count in the following endpoint.

Endpoint: [/gimme/<subreddit>/<count>](https://meme-api.herokuapp.com/gimme/dankmemes/2)
Endpoint: [/gimme/{subreddit}/{count}](https://meme-api.herokuapp.com/gimme/dankmemes/2)

Example: https://meme-api.herokuapp.com/gimme/dankmemes/2

Expand Down

0 comments on commit 5c4d7a1

Please sign in to comment.