ahmadnassri/httpsnippet

View on GitHub
src/targets/powershell/webrequest/client.ts

Summary

Maintainability
A
50 mins
Test Coverage
import { Client } from '../../targets';
import { generatePowershellConvert } from '../common';

export const webrequest: Client = {
  info: {
    key: 'webrequest',
    title: 'Invoke-WebRequest',
    link: 'https://docs.microsoft.com/en-us/powershell/module/Microsoft.PowerShell.Utility/Invoke-WebRequest',
    description: 'Powershell Invoke-WebRequest client',
  },
  convert: generatePowershellConvert('Invoke-WebRequest'),
};