https://github.com/wk-j/vscode-httpie
https://github.com/wk-j/vscode-httpie
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/wk-j/vscode-httpie
- Owner: wk-j
- License: mit
- Created: 2018-01-30T20:03:12.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-05-14T09:50:47.000Z (almost 4 years ago)
- Last Synced: 2023-03-01T12:37:38.530Z (about 2 years ago)
- Language: TypeScript
- Size: 66.4 KB
- Stars: 4
- Watchers: 2
- Forks: 2
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

[](https://marketplace.visualstudio.com/items?itemName=wk-j.vscode-httpie) [](https://marketplace.visualstudio.com/items?itemName=wk-j.vscode-httpie)
# Installation
1. Install [HTTPie](https://httpie.org) client
2. Install extension [VS Code HTTPie](https://marketplace.visualstudio.com/items?itemName=wk-j.vscode-httpie)# Usage
1. Create a file anywhere ending in `.httpie`, such as `Request.httpie`
2. Add HTTPie commands to it:```javascript
http -v PUT httpbin.org/put API-Key:foo hello=world// Separate commands with commented lines (//)
http DELETE example.org/todos/7// Request a Google search
http www.google.com search=='HTTPie logo' tbm==isch// Use multiple lines for a single command
http www.google.com
search=='HTTPie logo'
tbm==isch
```3. Click the `Send request` button that appears above each command in the file, and the command will execute in the Terminal.