Socket
Book a DemoInstallSign in
Socket

postman_collection_url_updater

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

postman_collection_url_updater

This project helps in updating request URLs in collection files in bulk

1.0.0
unpublished
latest
npmnpm
Version published
Maintainers
1
Created
Source

logo

postman-collection-url-updater

This is a command line utility that helps you to update request URLs in your collection files in a bulk. for instance, let say your URLs where in the form https://localhost:23456/api/v1/{{path}} and you wanted modify all the requests as {{baseURL}}/{{path}} you can do it as

npx postman-collection-url-updater -c "collection.json" -r "https://localhost:23456/api/v1/{{path}}" -w "{{baseURL}}/{{path}}" -s "new_collection.json"

CLI Options

optionsaliasdescriptionExample
--collection_path-cPath to the source Collection.json filecollection.json or project/collection.json
--replace_url_part-rThe part of the URL to modifyv1 or https://localhost:23456/api/v1/ or localhost:23456/
--with_url_part-wThe value to replace the matching URL part withv2 or {{baseURL}}/{{path}} or localhost:8888/
--save_as-s(Optional) Path to output collection file, DEFAULT: new_collection.json. If no value provided then the file will be saved by prefixing new to current collection namemodifiedCollection.json or project/modifiedCollection.json

FAQs

Package last updated on 24 Jan 2022

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.