You are not logged in.
Hi,
What values can be entered into the TTHttpClientSocketRequestParams.DataType field?
Please give some example.
Offline
This TTHttpClientSocketRequestParams is an internal wrapper record.
Why do you want to modify it?
At TTHttpClientSocket level, the DataType parameter is the mime content-type of the Data parameter.
If not is set, it assumes 'application/json'.
Offline
I just want to know how to use THttpClientSocket.Post() with THttpMultiPartStream parameter.
So, DataType is as Mime Type.
Thanks ab.
Offline
I have made it more explicit:
https://github.com/synopse/mORMot2/commit/95f8a54d
Sorry for the confusion.
Offline