bhavyasravani
11 years agoOccasional Contributor
Rest : Send multipart form data request in different parts
Hello Everyone,
I want to send a POST request for a rest service of the type form data. The request should be sent in mutliple parts, each part corresponding to a property. The sample payload for the request is as
appRuntimeId={value}&policyKey={value}&policyType={value}&SharedSecret={value}&apiVersionDN={value}&environment={value}&operationName={value}&apiKey={value}&grantType={value}
Whenever I send this payload, all the properties are sent in a single part. I want each property to be sent in a different part.
Please find the attached screen shot containing the format in which I want the request to be sent.
Please help me with this.
Thanks in advance.
I want to send a POST request for a rest service of the type form data. The request should be sent in mutliple parts, each part corresponding to a property. The sample payload for the request is as
appRuntimeId={value}&policyKey={value}&policyType={value}&SharedSecret={value}&apiVersionDN={value}&environment={value}&operationName={value}&apiKey={value}&grantType={value}
Whenever I send this payload, all the properties are sent in a single part. I want each property to be sent in a different part.
Please find the attached screen shot containing the format in which I want the request to be sent.
Please help me with this.
Thanks in advance.