Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

aqui

Package Overview
Dependencies
Maintainers
0
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aqui

Simple CLI HTTP utilities

  • 7.4.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8
decreased by-33.33%
Maintainers
0
Weekly downloads
 
Created
Source

aquí

Build Status NPM version

Simple CLI HTTP tools aimed at maximum human friendliness.

Installation

$ npm i -g aqui

Configuration

Uses @buzuli/color, so its configuration options can be applied to optimize for your terminal.

Examples

HTTP GET requet

$ aqui get http://httpbin.org/get?agent=aqui -h bearer:none
{
  "args": {
    "agent": "aqui"
  },
  "headers": {
    "Accept": "application/json, text/plain, */*",
    "Bearer": "none",
    "Connection": "close",
    "Host": "httpbin.org",
    "User-Agent": "aqui/3.0.2"
  },
  "origin": "52.34.191.12",
  "url": "http://httpbin.org/get?agent=aqui"
}

access-control-allow-credentials : true
     access-control-allow-origin : *
                      connection : close
                  content-length : 233
                    content-type : application/json
                            date : Tue, 15 May 2018 13:18:38 GMT
                          server : gunicorn/19.8.1
                             via : 1.1 vegur

GET http://httpbin.org/get?agent=aqui

    Accept : application/json, text/plain, */*
Connection : close
      Host : httpbin.org
User-Agent : aqui/3.0.3
    bearer : none

[200] OK (597.562 ms)

Geo IP query

$ aqui ip -gJ
{
  "ip": "52.34.191.12",
  "as": "AS16509 Amazon.com, Inc.",
  "isp": "Amazon.com",
  "org": "Amazon.com",
  "countryCode": "US",
  "countryName": "United States",
  "regionCode": "OR",
  "regionName": "Oregon",
  "city": "Boardman",
  "zipCode": "97818",
  "metroCode": "unknown",
  "timeZone": "America/Los_Angeles",
  "latitude": 45.8696,
  "longitude": -119.688
}

Usage

$ aqui <command>

Commands:
  aqui delete <url> [payload]  HTTP DELETE against a URL
  aqui get <url>               HTTP GET against a URL
  aqui head <url>              HTTP HEAD against a URL
  aqui ip                      Fetch public IP info for this caller
  aqui options <url>           HTTP OPTIONS against a URL
  aqui post <url> [payload]    HTTP POST against a URL
  aqui put <url> [payload]     HTTP PUT against a URL
  aqui status-codes [filter]   list the http status codes

Options:
  --version  Show version number                                       [boolean]
  --help     Show help                                                 [boolean]

Keywords

FAQs

Package last updated on 27 Jun 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc