Hello! I want to make a POST call to a server (which I don't control). The call requires a parameter in the form of a string that respects the format:
if I try to make the call like this:
the response from the server is 200 but I receive an error message that the parameters are not in the expected format.
how can i get the required format?
Thank you!
"[{"param1": "value1"},{ "data": "2023-10-30"}]"
if I try to make the call like this:
Dim parametrii As Map
parametrii.Initialize
parametrii.Put("param1","155810")
parametrii.Put("data","2023-10-30")
j.PostMultipart(destinationUrl,parametrii,Null)
the response from the server is 200 but I receive an error message that the parameters are not in the expected format.
how can i get the required format?
Thank you!