Giter Site home page Giter Site logo

anweber / vscode-httpyac Goto Github PK

View Code? Open in Web Editor NEW
212.0 5.0 20.0 4.41 MB

Quickly and easily send REST, Soap, GraphQL, GRPC, MQTT and WebSocket requests directly within Visual Studio Code

Home Page: https://marketplace.visualstudio.com/items?itemName=anweber.vscode-httpyac

License: MIT License

TypeScript 99.97% Shell 0.03%
rest http postman graphql soap mqtt websocket grpc

vscode-httpyac's Introduction

HttpYac Logo

httpYac - Yet another Client

Quickly and easily send REST, SOAP, GraphQL or gRPC requests directly in Editor

HttpYac HttpYac Extension

Example

@user = doe
@password = 12345678

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

more examples and guide

Commands

Commands

Name Description
httpyac.send send request in ActiveTextEditor in active line
httpyac.sendAll send all requests in ActiveTextEditor
httpyac.resend resend last request
httpyac.show show cached response of request in ActiveTextEditor in active line
httpyac.viewHeader show response headers, request header and timings of request in ActiveTextEditor in active line
httpyac.save save response of request in ActiveTextEditor in active line
httpyac.clearAll clear all cached responses
httpyac.toggle-env toggle environment of active text document
httpyac.generateCode generate code of request in ActiveTextEditor in active line
httpyac.reset reset environments, oauth sessions and cookies
httpyac.logout see current oauth2 sessions and logout
httpyac.removeCookies remove received cookies
httpyac.new create empty http file
httpyac.showHistory show response history
httpyac.clearHistory clear response history
httpyac.removeHistory remove history entry

Keybindings

keybindings are only active in files with language http

Name Description keybindings
httpyac.send send request in ActiveTextEditor in active line ctrl+alt+r
httpyac.resend resend last request ctrl+alt+l
httpyac.toggle-env toggle environment of active text document ctrl+alt+e

Settings

Request Settings

Name Description Default
httpyac.requestDefaultHeaders default request headers if not overwritten { "User-Agent": "httpyac"}
httpyac.requestGotOptions request options used for got -
httpyac.cookieJarEnabled is CookieJar support enabled true or options

HttpYac extension uses the proxy settings of Visual Studio Code (http.proxy).

Environment Settings

Name Description Default
httpyac.environmentSelectedOnStart list of selected environments on startup -
httpyac.environmentPickMany allow picking many environments at the same time true
httpyac.environmentVariables environment variables { "$shared":{} }
httpyac.envDirName relative or absolute path to folder with dotenv files "env"

Response View Settings

Name Description Default
httpyac.responseViewHeader headers (e.g. content-type), test results (e.g. tests.failed), timings (e.g. timings.total) and meta data (e.g. meta.size) visible in code lens of response [ "timings.total", "content-type", "content-length" ]
httpyac.responseViewMode response view mode of file preview
httpyac.responseViewPrettyPrint response view pretty prints content. Pretty print is only working, if editor receives focus (vscode limitation) true
httpyac.responseViewPreserveFocus response view will not take focus after receiving response true
httpyac.responseViewColumn response preview column option (current, beside) beside
httpyac.responseViewLanguageMap mimetype to languageId map for response view (only used if not in preview mode) beside

httpYac Extension

Name Description Default
httpyac.showGutterIcon show gutter icon to highlight request lines true
httpyac.showNotificationPopup show information, warning and error notifiation message true
httpyac.useMethodInSendCodeLens use request method in send code lens false
httpyac.logLevel log level of output channel warn
httpyac.maxHistoryItems number of max history items 50

License

MIT License

Change Log

See CHANGELOG here

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.