Releases: char0n/http-request-in-editor
Releases · char0n/http-request-in-editor
v0.4.0
v0.3.0
v0.2.0
v0.1.0
First release containing full implementation of the HTTP Request in Editor Spec.
const { parse } = require('http-request-in-editor');
const http = `
POST https://httpbin.org/post
###
`;
const ast = parse(http);
/**
*
* [
* [
* {
* method: 'POST',
* requestTarget: [Object],
* httpVersion: '1.1',
* headers: [],
* body: [Array],
* responseHandler: null,
* responseRef: null
* }
* ]
* ]
*/