Hi
I want to upload data to the server using HttpJob Postmultipart method. My data include JSON string and Two image files. Could you help me how to send these items in single post request?
When i use JSON string instead of Map data , the IDE showing the warning Type mismatch..
<Code>
Dim Map1 As Map
Map1.Initialize
Dim JSONGenerator1 As JSONGenerator
Dim JSONstring As String
Map1.put("id","1")
Map1.put("Number","2")
JSONGenerator1.Initialize(Map1)
JSONstring=JSONGenerator1.ToString
j.Initialize("", Me)
JSONstring=JSONGenerator1.ToString'.ToString
j.GetRequest.SetContentType("application/json")
j.PostMultipart("
http://154.15.225.11/api/add_dev",JSONstring,Null)
' Here Type doesnot match warning 22
<End Code>
Fisrt try with JSON string, after its success then i need to do with image uploading .
Thank You for your help.