Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@api-components/api-request

advanced-rest-client49Apache-2.00.3.8TypeScript support: included

A set of composite components that are used to build an HTTP request editor with the support of the AMF model.

web-components, api-components, api-console, amf, request

readme

DEPRECATED

This component is being deprecated. The code base has been moved to amf-components module. This module will be archived when PR 1 is merged.


Usage

In this package:

  • api-request-editor - The HTTP editor powered with AMF data
  • api-request-panel - The request editor and the response view for an API request
  • api-response-view - Simplified version of ARC's response view
  • xhr-simple-request-transport - XHR as a web component
  • xhr-simple-request - A web component that handles the api-request event and makes HTTP request for an API using the XHR object.

Installation

npm install --save @api-components/api-request

Development

git clone https://github.com/advanced-rest-client/api-request
cd api-request
npm install

Running the demo locally

npm start

Running the tests

npm test

changelog

0.1.1 (2021-01-13)

Build

  • bumping version 50910fe by Pawel Psztyc

Update

  • showing HTTP headers when custom enabled b5e6595 by Pawel Psztyc
  • adding response file save cfc8c6e by Pawel Psztyc
  • adding tests, finalizing the component ae290fa by Pawel Psztyc
  • putting HTTP request components together 62d9aa9 by Pawel Psztyc

0.1.4 (2021-02-05)

Build

  • bump version 9a7249f by Carolina Wright
  • bumping version e40d9f0 by Pawel Psztyc
  • bumping version 50910fe by Pawel Psztyc

Update

  • updating dependencies 34bfd38 by Pawel Psztyc
  • removing reference to the arc-url's index file 8e74b93 by Pawel Psztyc
  • updading dependencies 7f3a56c by Pawel Psztyc
  • [ci skip] automated merge master->stage. syncing main branches 1402686 by Ci agent
  • showing HTTP headers when custom enabled b5e6595 by Pawel Psztyc
  • adding response file save cfc8c6e by Pawel Psztyc
  • adding tests, finalizing the component ae290fa by Pawel Psztyc
  • putting HTTP request components together 62d9aa9 by Pawel Psztyc

Documentation

  • updating demo page d300802 by Pawel Psztyc

Bug Fixes

  • remove content type if multipart and payload is form data e138f15 by Carolina Wright

Testing

  • content type header is being removed when payload is form data a1f7b7d by Carolina Wright

0.1.4 (2021-02-05)

Build

  • bump version 9a7249f by Carolina Wright
  • bumping version e40d9f0 by Pawel Psztyc

Update

  • [ci skip] automated merge master->stage. syncing main branches 97e6e5f by Ci agent
  • updating dependencies 34bfd38 by Pawel Psztyc
  • removing reference to the arc-url's index file 8e74b93 by Pawel Psztyc
  • updading dependencies 7f3a56c by Pawel Psztyc
  • [ci skip] automated merge master->stage. syncing main branches 1402686 by Ci agent

Documentation

  • updating demo page d300802 by Pawel Psztyc

Bug Fixes

  • remove content type if multipart and payload is form data e138f15 by Carolina Wright

Testing

  • content type header is being removed when payload is form data a1f7b7d by Carolina Wright

0.1.6 (2021-03-04)

Build

  • bump version 9a7249f by Carolina Wright
  • bumping version e40d9f0 by Pawel Psztyc

Update

  • updating base response for ACM 5287b59 by Pawel Psztyc
  • [ci skip] automated merge master->stage. syncing main branches 26f78e4 by Ci agent
  • [ci skip] automated merge master->stage. syncing main branches 97e6e5f by Ci agent
  • updating dependencies 34bfd38 by Pawel Psztyc
  • removing reference to the arc-url's index file 8e74b93 by Pawel Psztyc
  • updading dependencies 7f3a56c by Pawel Psztyc
  • [ci skip] automated merge master->stage. syncing main branches 1402686 by Ci agent

Documentation

  • updating demo page d300802 by Pawel Psztyc

Features

  • adding response details and raw view e93c67b by Pawel Psztyc

Bug Fixes

  • remove content type if multipart and payload is form data e138f15 by Carolina Wright

Testing

  • content type header is being removed when payload is form data a1f7b7d by Carolina Wright

0.1.7 (2021-03-08)

Build

  • bump version 9a7249f by Carolina Wright
  • bumping version e40d9f0 by Pawel Psztyc

Update

  • [ci skip] automated merge master->stage. syncing main branches 6d13a55 by Ci agent
  • updating base response for ACM 5287b59 by Pawel Psztyc
  • [ci skip] automated merge master->stage. syncing main branches 26f78e4 by Ci agent
  • [ci skip] automated merge master->stage. syncing main branches 97e6e5f by Ci agent
  • updating dependencies 34bfd38 by Pawel Psztyc
  • removing reference to the arc-url's index file 8e74b93 by Pawel Psztyc
  • updading dependencies 7f3a56c by Pawel Psztyc
  • [ci skip] automated merge master->stage. syncing main branches 1402686 by Ci agent

Documentation

  • updating demo page d300802 by Pawel Psztyc

Features

  • adding response details and raw view e93c67b by Pawel Psztyc

Bug Fixes

  • remove content type if multipart and payload is form data e138f15 by Carolina Wright

Testing

  • content type header is being removed when payload is form data a1f7b7d by Carolina Wright

0.1.8 (2021-03-09)

Build

  • bump version 78067e3 by Carolina Wright
  • bump version 9a7249f by Carolina Wright
  • bumping version e40d9f0 by Pawel Psztyc

Update

  • [ci skip] automated merge master->stage. syncing main branches eeb14e7 by Ci agent
  • [ci skip] automated merge master->stage. syncing main branches 6d13a55 by Ci agent
  • updating base response for ACM 5287b59 by Pawel Psztyc
  • [ci skip] automated merge master->stage. syncing main branches 26f78e4 by Ci agent
  • [ci skip] automated merge master->stage. syncing main branches 97e6e5f by Ci agent
  • updating dependencies 34bfd38 by Pawel Psztyc
  • removing reference to the arc-url's index file 8e74b93 by Pawel Psztyc
  • updading dependencies 7f3a56c by Pawel Psztyc
  • [ci skip] automated merge master->stage. syncing main branches 1402686 by Ci agent

Documentation

  • updating demo page d300802 by Pawel Psztyc

Features

  • pass credentialsSource property to api-authorization-method c18aeca by Carolina Wright
  • adding response details and raw view e93c67b by Pawel Psztyc

Bug Fixes

  • remove content type if multipart and payload is form data e138f15 by Carolina Wright

Testing

  • content type header is being removed when payload is form data a1f7b7d by Carolina Wright

0.1.10 (2021-03-23)

Build

  • bump version bd0be87 by Carolina Wright
  • bump version 78067e3 by Carolina Wright
  • bump version 9a7249f by Carolina Wright
  • bumping version e40d9f0 by Pawel Psztyc

Update

  • [ci skip] automated merge master->stage. syncing main branches 6d71fae by Ci agent
  • [ci skip] automated merge master->stage. syncing main branches eeb14e7 by Ci agent
  • [ci skip] automated merge master->stage. syncing main branches 6d13a55 by Ci agent
  • updating base response for ACM 5287b59 by Pawel Psztyc
  • [ci skip] automated merge master->stage. syncing main branches 26f78e4 by Ci agent
  • [ci skip] automated merge master->stage. syncing main branches 97e6e5f by Ci agent
  • updating dependencies 34bfd38 by Pawel Psztyc
  • removing reference to the arc-url's index file 8e74b93 by Pawel Psztyc
  • updading dependencies 7f3a56c by Pawel Psztyc
  • [ci skip] automated merge master->stage. syncing main branches 1402686 by Ci agent

Documentation

  • updating demo page d300802 by Pawel Psztyc

Features

  • pass credentialsSource property to api-authorization-method c18aeca by Carolina Wright
  • adding response details and raw view e93c67b by Pawel Psztyc

Bug Fixes

  • missing request headers due to wrongly converting them to string 247de94 by Carolina Wright
  • remove content type if multipart and payload is form data e138f15 by Carolina Wright

Testing

  • fix tests 87dacf8 by Carolina Wright
  • request headers are included 7cc7f39 by Carolina Wright
  • content type header is being removed when payload is form data a1f7b7d by Carolina Wright

0.1.12 (2021-03-29)

Build

  • bump version bf35df6 by Carolina Wright
  • bump version 044760c by Carolina Wright
  • bump version bd0be87 by Carolina Wright
  • bump version 78067e3 by Carolina Wright
  • bump version 9a7249f by Carolina Wright
  • bumping version e40d9f0 by Pawel Psztyc

Update

  • [ci skip] automated merge master->stage. syncing main branches d6c2bfa by Ci agent
  • [ci skip] automated merge master->stage. syncing main branches 6d71fae by Ci agent
  • [ci skip] automated merge master->stage. syncing main branches eeb14e7 by Ci agent
  • [ci skip] automated merge master->stage. syncing main branches 6d13a55 by Ci agent
  • updating base response for ACM 5287b59 by Pawel Psztyc
  • [ci skip] automated merge master->stage. syncing main branches 26f78e4 by Ci agent
  • [ci skip] automated merge master->stage. syncing main branches 97e6e5f by Ci agent
  • updating dependencies 34bfd38 by Pawel Psztyc
  • removing reference to the arc-url's index file 8e74b93 by Pawel Psztyc
  • updading dependencies 7f3a56c by Pawel Psztyc
  • [ci skip] automated merge master->stage. syncing main branches 1402686 by Ci agent

Documentation

  • updating demo page d300802 by Pawel Psztyc

Features

  • pass credentialsSource property to api-authorization-method c18aeca by Carolina Wright
  • adding response details and raw view e93c67b by Pawel Psztyc

Bug Fixes

  • string headers in api-request event b430f4b by Carolina Wright
  • missing request headers due to wrongly converting them to string 247de94 by Carolina Wright
  • remove content type if multipart and payload is form data e138f15 by Carolina Wright

Testing

  • increase timeout 8d1c5c6 by Carolina Wright
  • fix tests 87dacf8 by Carolina Wright
  • request headers are included 7cc7f39 by Carolina Wright
  • content type header is being removed when payload is form data a1f7b7d by Carolina Wright

0.1.13 (2021-03-29)

Build

  • bump version bf35df6 by Carolina Wright
  • bump version 044760c by Carolina Wright
  • bump version bd0be87 by Carolina Wright
  • bump version 78067e3 by Carolina Wright
  • bump version 9a7249f by Carolina Wright
  • bumping version e40d9f0 by Pawel Psztyc

Update

  • [ci skip] automated merge master->stage. syncing main branches 8d0df26 by Ci agent
  • [ci skip] automated merge master->stage. syncing main branches d6c2bfa by Ci agent
  • [ci skip] automated merge master->stage. syncing main branches 6d71fae by Ci agent
  • [ci skip] automated merge master->stage. syncing main branches eeb14e7 by Ci agent
  • [ci skip] automated merge master->stage. syncing main branches 6d13a55 by Ci agent
  • updating base response for ACM 5287b59 by Pawel Psztyc
  • [ci skip] automated merge master->stage. syncing main branches 26f78e4 by Ci agent
  • [ci skip] automated merge master->stage. syncing main branches 97e6e5f by Ci agent
  • updating dependencies 34bfd38 by Pawel Psztyc
  • removing reference to the arc-url's index file 8e74b93 by Pawel Psztyc
  • updading dependencies 7f3a56c by Pawel Psztyc
  • [ci skip] automated merge master->stage. syncing main branches 1402686 by Ci agent

Documentation

  • updating demo page d300802 by Pawel Psztyc

Features

  • pass credentialsSource property to api-authorization-method c18aeca by Carolina Wright
  • adding response details and raw view e93c67b by Pawel Psztyc

Bug Fixes

  • string headers in api-request event b430f4b by Carolina Wright
  • missing request headers due to wrongly converting them to string 247de94 by Carolina Wright
  • remove content type if multipart and payload is form data e138f15 by Carolina Wright

Testing

  • increase timeout 8d1c5c6 by Carolina Wright
  • fix tests 87dacf8 by Carolina Wright
  • request headers are included 7cc7f39 by Carolina Wright
  • content type header is being removed when payload is form data a1f7b7d by Carolina Wright