Reply To: HTTP POST Request in a Command

Home Forums V-Control General HTTP POST Request in a Command Reply To: HTTP POST Request in a Command

#6928
JonasStade
Participant

this is freshly code from my new driver, IMPORTANT IS ALSO THE / at the beginning, because instead it would net be described as HTTP (for example wireshark and so on)

dim enter,two,nine,ten,m,json as string
m=””””
enter = chr(13) + chr(10)
json=”{“+m+”jsonrpc”+m+”:”+m+”2.0″+m+”, “+m+”id”+m+”:54, “+m+”method”+m+”:”+m+”Pixera.Timelines.Timeline.getTransportMode”+m+”, “+m+”params”+m+”:{“+m+”handle”+m+”:”+P1+”}}”
two= “Content-Type: application/json”+enter
nine=”content-length: “+str(Len(json))+enter
ten=”Connection: keep-alive”+enter+enter

ScriptResult = “/ ” +two+nine+ten+json+chr(10)

Scroll to top