diff --git a/lib/services/marketplaceorderingManagement/README.md b/lib/services/marketplaceorderingManagement/README.md index ebac2de935..ef0e441d61 100644 --- a/lib/services/marketplaceorderingManagement/README.md +++ b/lib/services/marketplaceorderingManagement/README.md @@ -3,8 +3,7 @@ uid: azure-arm-marketplaceordering summary: *content --- -**This SDK will be deprecated next year and will be replaced by a new TypeScript-based isomorphic SDK (found at https://www.npmjs.com/package/@azure/arm-marketplaceordering) which works on Node.js and browsers.** -**See https://aka.ms/azure-sdk-for-js-migration to learn more.** +**This SDK will be deprecated next year and will be replaced by a new TypeScript-based isomorphic SDK (found at https://github.com/Azure/azure-sdk-for-js) which works on Node.js and browsers.** ## Microsoft Azure SDK for Node.js - MarketplaceOrderingAgreements This project provides a Node.js package for accessing Azure. Right now it supports: diff --git a/lib/services/marketplaceorderingManagement/lib/operations/marketplaceAgreements.js b/lib/services/marketplaceorderingManagement/lib/operations/marketplaceAgreements.js index 76be9da5dd..bed186e8c1 100644 --- a/lib/services/marketplaceorderingManagement/lib/operations/marketplaceAgreements.js +++ b/lib/services/marketplaceorderingManagement/lib/operations/marketplaceAgreements.js @@ -443,7 +443,7 @@ function _sign(publisherId, offerId, planId, options, callback) { // Create HTTP transport objects let httpRequest = new WebResource(); - httpRequest.method = 'PUT'; + httpRequest.method = 'POST'; httpRequest.url = requestUrl; httpRequest.headers = {}; // Set Headers @@ -596,7 +596,7 @@ function _cancel(publisherId, offerId, planId, options, callback) { // Create HTTP transport objects let httpRequest = new WebResource(); - httpRequest.method = 'PUT'; + httpRequest.method = 'POST'; httpRequest.url = requestUrl; httpRequest.headers = {}; // Set Headers diff --git a/lib/services/marketplaceorderingManagement/package.json b/lib/services/marketplaceorderingManagement/package.json index a5b6127a77..2b5c97b149 100644 --- a/lib/services/marketplaceorderingManagement/package.json +++ b/lib/services/marketplaceorderingManagement/package.json @@ -4,7 +4,7 @@ "description": "MarketplaceOrderingAgreements Library with typescript type definitions for node", "version": "1.3.0", "dependencies": { - "ms-rest": "^2.5.0", + "ms-rest": "^2.3.3", "ms-rest-azure": "^2.5.5" }, "keywords": [ @@ -21,8 +21,5 @@ }, "bugs": { "url": "https://github.com/azure/azure-sdk-for-node/issues" - }, - "scripts": { - "postinstall": "node .scripts/postinstall.js" } }