I try to upload a form with mime data like this
S httprequest=##class(%Net.HttpRequest).%New()
S httprequest.Server="www.server.com"
S httprequest.ContentEncoding="base64"
S httprequest.ContentType="multipart/form-data"
D httprequest.InsertFormData("file","value")
D httprequest.Post("/ad/upload.csp")
D httprequest.HttpResponse.OutputToDevice()
but the code on the csp-page like this:
W "M:"_$O(%request.MimeData("")),!
W "F:"_$O(%request.Data("")),!
Say i get request something in request.data not in request.mimedata
I need this to upload a file from a server to a webserver using http
what do you want to do? Upload a file?
Regards
Alex
The Https property is a %Boolean so if you set it to 1 instead of “true” that might make a difference. Does your bankcon SSL configuration work from the System Management Portal if you test it there?