Reputation: 1
I have this simple request which is in the format of HAR
{
"method": "GET",
"url": "https://example.com",
"httpVersion": "HTTP/1.1",
"cookies": [],
"headers": [],
"queryString": [],
"postData": {
"mimeType": ""
},
"headersSize": 0,
"bodySize": 0
}
I need to convert this request to Powershell (WebRequest/RestMethod)
Any help is appreciated!!
I tried using Httpsnippet. It works fine for simple requests but for some reason it fails converting complex requests.
Upvotes: 0
Views: 198