diff --git a/README.md b/README.md index 4be62d407..52526c891 100644 --- a/README.md +++ b/README.md @@ -130,6 +130,25 @@ _History entries can be sorted by any fields_ _Histories can deleted one-by-one or all together_ +📁 **Collections**: Keep your API requests organized with collections and folders. Reuse them with a single click. + +**Options:** + - Create infinite collections, folders and requests + - Edit, delete, move, export, import and replace + +_Export, import and replace collections with JSON files_ + +_Collections are synced with local session storage_ + +📁 **Proxy**: Enable Proxy Mode from Settings to access blocked APIs + +**Features:** + - Hide your IP address + - Fixes [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) (Cross Origin Resource Sharing) issues + - Access APIs served in non-HTTPS (`http://`, `localhost`, etc.) + +_Proxy is hosted by ApolloTV - [Privacy policy](https://apollotv.xyz/legal)_ + ## Demo 🚀 [![Website](https://img.shields.io/website-up-down-green-red/https/shields.io.svg?label=website)](https://postwoman.io) [https://postwoman.io](https://postwoman.io) diff --git a/assets/js/curlparser.js b/assets/js/curlparser.js index 39aad35a2..dd7d6af03 100644 --- a/assets/js/curlparser.js +++ b/assets/js/curlparser.js @@ -97,9 +97,7 @@ function parseCurlCommand(curlCommand) { } parsedArguments.F.forEach(function(multipartArgument) { // input looks like key=value. value could be json or a file path prepended with an @ - let splitArguments = multipartArgument.split("=", 2); - let key = splitArguments[0]; - let value = splitArguments[1]; + const [key, value] = multipartArgument.split("=", 2); multipartUploads[key] = value; }); } diff --git a/components/section.vue b/components/section.vue index d8443e5e5..2a061bcae 100644 --- a/components/section.vue +++ b/components/section.vue @@ -1,5 +1,5 @@