
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
A tool to convert your macOS/Linux cURL requests to a Windows equivalent.
WinCurl trims whitespace, escapes bad characters, replaces quotes, and replaces line continuation characters for Windows. Requires Javascript to be enabled in your web browser.
Install the node module below or download the Javascript manually.
npm i wincurl
There are multiple ways to take advantage of WinCurl. Below is an example of what to expect.
Take this:
curl -X POST https://api.easypost.com/v2/shipments \
-u <YOUR_TEST/PRODUCTION_API_KEY>: \
-d 'shipment[to_address][id]=adr_...' \
-d 'shipment[from_address][id]=adr_...' \
-d 'shipment[parcel][id]=prcl_...' \
-d 'shipment[options][address_validation_level]=0'
And turn it into this:
curl -X POST https://api.easypost.com/v2/shipments ^
-u <YOUR_TEST/PRODUCTION_API_KEY>: ^
-d "shipment[to_address][id]=adr_..." ^
-d "shipment[from_address][id]=adr_..." ^
-d "shipment[parcel][id]=prcl_..." ^
-d "shipment[options][address_validation_level]=0"
View WinCurl in action here: https://justintime50.github.io/wincurl.
Download WinCurl and open the index.html file in your browser (double click the file) and paste in your cURL request. Press convert and you'll have your Windows curl request output.
Use id's wincurl-input and wincurl-output to pass in curl data and get the converted data out.
<!-- Import WinCurl -->
<script src="path/to/wincurl/index.js"></script>
<!-- WinCurl Input -->
<textarea id="wincurl-input" placeholder="Paste curl request here..." rows="8"></textarea>
<button onclick="processInput()">Convert</button>
<!-- WinCurl Output -->
<div id="wincurl-output"></div>
# Lint the project
npx eslint index.js
# Test the project
npm run test
Source code came from roehnan with some small modifications.
FAQs
A tool to convert your macOS/Linux cURL requests to a Windows equivalent.
The npm package wincurl receives a total of 1 weekly downloads. As such, wincurl popularity was classified as not popular.
We found that wincurl demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.