httpyac
    TypeScript icon, indicating that this package has built-in type declarations

    4.9.1 • Public • Published

    HttpYac

    httpYac - Yet another Rest Client

    httpyac CLI provides a command line interface to execute _.http and _.rest files. This can be used to quickly execute a single *.http file, but also to execute all files in a folder. httpyac supports HTTP, Rest, GraphQL, WebSocket und gRPC Requests

    HttpYac HttpYac CLI

    Installation

    npm install -g httpyac
    httpyac --version

    Commands

    > httpyac --help
    
    usage: httpyac <file or glob pattern> [options]
           --all           execute all http requests in a http file
           --bail          stops when a test case fails
      -e   --env           list of environments
           --filter        filter requests output (only-failed)
      -h   --help          help
           --insecure      allow insecure server connections when using ssl
      -i   --interactive   do not exit the program after request, go back to selection
           --json          use json output
      -l   --line          line of the http requests
      -n   --name          name of the http requests
           --no-color      disable color support
      -o   --output        output format of response (short, body, headers, response, exchange, none)
           --output-failed output format of failed response (short, body, headers, response, exchange, none)
           --raw           prevent formatting of response body
      -r   --repeat        repeat count for requests
           --repeat-mode   repeat mode: sequential, parallel (default)
      -s   --silent        log only request
           --timeout       maximum time allowed for connections
           --var           set variables
      -v   --verbose       make the operation more talkative
    

    Example

    @user = doe
    @password = 12345678
    
    GET https://httpbin.org/basic-auth/{{user}}/{{password}}
    Authorization: Basic {{user}} {{password}}
    

    more examples and guide

    License

    MIT License

    Change Log

    CHANGELOG

    Install

    npm i httpyac

    DownloadsWeekly Downloads

    151

    Version

    4.9.1

    License

    MIT

    Unpacked Size

    731 kB

    Total Files

    192

    Last publish

    Collaborators

    • weber.andreas