@api-components/api-request

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

Usage no npm install needed!

<script type="module">
  import apiComponentsApiRequest from 'https://cdn.skypack.dev/@api-components/api-request';
</script>

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