HTTPS requests.
npm i client-crud
Methods:
- get
- post
- put
- patch
- delete
Method parameters:
- Request options similar to https.request.
- JSON to be sent (optional).
import { get } from 'client-crud';
const options = {
hostname: 'yzr7679ckh.execute-api.eu-west-1.amazonaws.com',
path: '/test',
};
const data = await get(options);
npm run
npm run build
npm run deploy