Socket
Socket
Sign inDemoInstall

ijs.ext.http

Package Overview
Dependencies
63
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ijs.ext.http

IJavaScript extension for issuing and handling HTTP requests interactively.


Version published
Maintainers
1
Install size
2.04 MB
Created

Readme

Source

ijs.ext.http

IJavaScript extension for creating and invoking HTTP APIs

Usage

These are the steps to follow in a notebook.

Step 1 - Loading the extension

%extension http

Step 2 - Making verbatim HTTP requests

%request
GET http://www.example.com

The general format is:

%request
HTTP_Verb URL
Optional Headers (Header: Value)

Optional Body

Step 3 - Alternatively issue curl-like commands

%url --method=GET --url=http://www.example.com

You can see all the parameters to optionally pass in query string, headers and request body, as well as select the response display mode, via the command help.

%url --help

Keywords

FAQs

Last updated on 28 May 2015

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc