Skip to content
This repository has been archived by the owner on Jul 14, 2022. It is now read-only.

Commit

Permalink
Remove Typo from Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
arshchimni committed Aug 28, 2020
1 parent aeabcbc commit 9207d24
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,27 +36,27 @@ $ sudo make install

### Homebrew

Install by `brew install athul/tap/pwcli`
Install by `brew install athul/tap/hopp-cli`

> **IMPORTANT: Not tested on Windows, please leave your feedback/bugs in the Issues section**
# Usages

Putting Simply: **Just pass the URL to the request method**
## Basic
- GET : `pwcli get <url> `
- POST: `pwcli post <url> `
- PATCH: `pwcli patch <url>`
- PUT : `pwcli put <url>`
- DELETE: `pwcli delete <url>`
- GET : `hopp-cli get <url> `
- POST: `hopp-cli post <url> `
- PATCH: `hopp-cli patch <url>`
- PUT : `hopp-cli put <url>`
- DELETE: `hopp-cli delete <url>`

Example for a POST request:
`pwcli post https://reqres.in/api/users/2 -c js -b '{"name": "morp","job": "zion resident"}`
`hopp-cli post https://reqres.in/api/users/2 -c js -b '{"name": "morp","job": "zion resident"}`

### Extra

**SEND**: This can be used to test multiple endpoints from the `hoppscotch-collection.json` file. The output will only be the `statuscode`.
Example : `pwcli send <PATH to hoppscotch collection.json>`
Example : `hopp-cli send <PATH to hoppscotch collection.json>`
o/p:
![](/assets/send.png)

Expand Down

0 comments on commit 9207d24

Please sign in to comment.