From 6e1b87e23e6758614c0bab8f70adc2e93cda6fec Mon Sep 17 00:00:00 2001 From: modusemerson <44206161+modusemerson@users.noreply.github.com> Date: Thu, 28 Apr 2022 13:15:48 -0600 Subject: [PATCH] Add params content type 2703 (#205) * add colleciton and env file with params add colleciton and env file with params * update parties header tests update parties header tests * add 6 vars to control content type header add 6 vars to control content type header * add accept headers changes add accept headers changes * Update Mojaloop-Local-MojaSims.postman_environment.json update env file with new vars * Update Golden_Path_Mojaloop.postman_collection.json update accept header for one request * update var in env file update var in env file --- Golden_Path_Mojaloop.postman_collection.json | 2 +- .../Mojaloop-Local.postman_environment.json | 38 ++++++++++++++++++- 2 files changed, 38 insertions(+), 2 deletions(-) diff --git a/Golden_Path_Mojaloop.postman_collection.json b/Golden_Path_Mojaloop.postman_collection.json index df7f87e..630f41c 100644 --- a/Golden_Path_Mojaloop.postman_collection.json +++ b/Golden_Path_Mojaloop.postman_collection.json @@ -38596,7 +38596,7 @@ "method": "GET", "header": [ { - "key": "Accep", + "key": "Accept", "value": "{{acceptQuotesRequest}}" }, { diff --git a/environments/Mojaloop-Local.postman_environment.json b/environments/Mojaloop-Local.postman_environment.json index 37c903c..6af72a3 100644 --- a/environments/Mojaloop-Local.postman_environment.json +++ b/environments/Mojaloop-Local.postman_environment.json @@ -896,7 +896,43 @@ "key": "contentTypeTransfers", "value": "application/vnd.interoperability.transfers+json;version=1.1", "enabled": true - } + }, + { + "key": "contentTypePartiesRequest", + "value": "application/vnd.interoperability.parties+json;version=1.0", + "type": "default", + "enabled": true + }, + { + "key": "contentTypeQuotesRequest", + "value": "application/vnd.interoperability.quotes+json;version=1.0", + "type": "default", + "enabled": true + }, + { + "key": "contentTypeTransfersRequest", + "value": "application/vnd.interoperability.transfers+json;version=1.0", + "type": "default", + "enabled": true + }, + { + "key": "acceptPartiesRequest", + "value": "application/vnd.interoperability.parties+json;version=1", + "type": "default", + "enabled": true + }, + { + "key": "acceptQuotesRequest", + "value": "application/vnd.interoperability.quotes+json;version=1.0", + "type": "default", + "enabled": true + }, + { + "key": "acceptTransfersRequest", + "value": "application/vnd.interoperability.transfers+json;version=1.0", + "type": "default", + "enabled": true + } ], "_postman_variable_scope": "environment", "_postman_exported_at": "2020-06-18T15:36:38.625Z",