@qodalis/cli-curl
Version:
Provide utility functions for the library curl
22 lines (14 loc) • 594 B
Markdown
# Cli extension
The `@qodalis/cli-curl` package is a CLI extension designed to execute HTTP requests on your server. Supports GET, POST, PUT, DELETE, headers, and body data.
# Installation
```bash
packages add @qodalis/cli-curl
packages add curl #short version
```
# Usage
```bash
curl post https://api.example.com/users -d='{"name":"John"}' -H="Content-Type: application/json"
#Using proxy
curl post https://api.example.com/users -d='{"name":"John"}' -H="Content-Type: application/json" --proxy
```
This command downloads and registers the extension for use within the CLI environment.