diff --git a/src/app/core/services/http-params-mapper.service.ts b/src/app/core/services/http-params-mapper.service.ts index 4aa4951c1..a65cf4f0a 100644 --- a/src/app/core/services/http-params-mapper.service.ts +++ b/src/app/core/services/http-params-mapper.service.ts @@ -53,6 +53,7 @@ export class HttpRequestParamsMapper { [DataAddressProperty.queryParams]: proxyQueryParams ? queryParams : null, [DataAddressProperty.body]: proxyBody ? body : null, [DataAddressProperty.contentType]: proxyBody ? contentType : null, + [DataAddressProperty.mediaType]: proxyBody ? contentType : null, }); } diff --git a/src/app/core/services/models/data-address-properties.ts b/src/app/core/services/models/data-address-properties.ts index aaa968a06..3804e08f1 100644 --- a/src/app/core/services/models/data-address-properties.ts +++ b/src/app/core/services/models/data-address-properties.ts @@ -7,6 +7,7 @@ export const DataAddressProperty = { body: `${EDC}body`, header: `header`, contentType: `${EDC}contentType`, + mediaType: `${EDC}mediaType`, method: `${EDC}method`, pathSegments: `${EDC}pathSegments`, proxyBody: `${EDC}proxyBody`,