You are not logged in.
Pages: 1
set some defaults to http
http.HeaderAdd(cREST_HEADER_CONTENTTYPE, cREST_CONTENTTYPE_JSON);
http.HeaderAdd(cREST_HEADER_SOAPACTION, cREST_SOAPACTION_ADD);
in other moment
http.HeaderAdd(cREST_HEADER_CONTENTTYPE, cREST_CONTENTTYPE_XML);
HEADERS:
Content-Type: application/json
SOAPAction: "add"
Content-Type: application/xml
I whould like replace content-type item
Offline
I have created a interface and class REST/SOAPClient to wrapper THttpClientSocket. then by default i use json contenttype, but some part of code need pass xml to content type.
I need replace the header item.
Last edited by mrbar2000 (Today 12:05:54)
Offline
The are some procedure to do this into mormot2?????
Offline
Pages: 1