Please help i have this example about posting string and returning data . How can i use this very example to my coding please help .
Code:
Dim J As HttpJob
J.Initialize(Null, Me)
J.PostString($"https://api.twelvedata.com/complex_data?apikey=${Twelvedata_APIKey}"$, JSONGenerator.ToString.Replace("\", "").Replace("""[", "[").Replace("]""", "]")) 'REMOVE UNNECESSARY CHARACTERS
J.GetRequest.SetContentType("application/json")
Wait For (J) JobDone(j As HttpJob)
If J.Success Then
Log(J.GetString)
If J.GetString.Contains("**symbol**") Then
ToastMsg.Show($"Select another symbol${CRLF}${Symbol} is not available with your plan"$)
Else
ParseTickerData(J.GetString) 'Parge the company ticker JSON data
End If
End If
j.Release
How can i use the code above to use the posting example using these examples below
Code:
http://localhost:5216/api/HandlerVBLoadterm?customerid=0782911364&customerid2=Father
Code:
[{"Account":"19-07561","Expressed":"END TERM 1 2019"},{"Account":"19-07561","Expressed":"MID TERM 1 2019"}]