FoxPro Programming
Multi-part Form
How to implement the following VB code in Multi-part Form Uploads using wwHTTP.
Dim client As New RestClient(https://www.newsite.somesite.gr/flexboard_api.php?type=invoice&action=upload)
Dim RestReq As New RestRequest(Method.POST)
RestReq.AddHeader("Content-Type", "multipart/form-data")
RestReq.AddHeader("Cookie", "tk=examplecookiesomsN593kJlj2QqjmyWzx7qQjLE")
RestReq.AddFile("xml", TmpFileName & ".xml", "application/xml")
RestReq.AddFile("invoice_xml", UBLFileName & ".xml", "application/xml")
RestReq.AddParameter("user", "DemoEskap")
RestReq.AddParameter("password", " K@pp@D3v")
RestReq.AddParameter("customers_id", TmpCustId)

in vb code there is RestReq.AddParameter("user", "DemoUser") what is the equivalent in wwHttp ;