Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ Supports all categories as on the Inshorts Website. These include -

## Usage

### 1. GET Request
# 1. GET Request

Make a get request of the form
```
http://{site_address}/news?category={category_name}
```
Example - http://www.exampleapi.com/news?category=science

### 2. POST Request
## 2. POST Request

Make a post request with the category, provided as form data with name 'category' to the same route as above i.e '/news'.

Expand Down