Is there any way in REST Sharp version 111.3 to modify the Content-Type value inside the form data?
Below is an example outgoing call I captured with Fiddler. As you can see, the content is JSON (AttributeFormat), but when I add that parameter, it's automatically adding text/plain
var request new RestRequest(options)
....
...
...
request.AddParameter("Arequest","{\"attributeFormat\":\"pdf\"}";
POST https://someurl.com/run HTTP/1.1
Authorization: Bearer adfafd....
User-Agent: RestSharp/111.3.0.0
Accept: application/json, text/json, text/x-json, text/javascript, application/xml, text/xml
Host: someurl.com
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
Content-Type: multipart/form-data; boundary="215c45a3-b9aa-40f1-9eb5-8ceefb192370"
Content-Length: 204
--215c45a3-b9aa-40f1-9eb5-8ceefb192370
Content-Disposition: form-data; name=ARequest
Content-Type: text/plain; charset=utf-8 <---- says text/plain instead of json!
{"attributeFormat":"pdf"} <---- added as text!
--215c45a3-b9aa-40f1-9eb5-8ceefb192370--
Thanks for any help
Tried to add a JSON item to the body/form, but the Content-Type inside the boundary keeps listing it as text/plain instead of application/json