Hello everyone!
I would like to find out if my code has something written wrong. It should make a call to gcloud using the http.request method, but when I see the function's log, there is no sign of it.
Maybe I forgot some params? Let me know, thanks in advance!
/**Custom Code*/ Object current = ownerobject(c); Object item = param(1); int rownumber = param(2); //row number of the schedule/sequence table /* string sourceFile = modeldir() + "Data.csv"; importtable(destinationTable, sourceFile, 0); //string token = destinationTable[0][1]; print(destinationTable.cell(1,1)); */ Table destinationTable = Table("MyGlobalTable"); string token = "123"; Http.Request request; request.host = "host"; request.method = Http.Method.Get; //request.data = "query=select * from Product"; request.useSSL = 1; request.headers = "Content-Type: application/json\r\n "; //request.method = Http.Method.Post; Http.Response response = request.sendAndWait(); //debug(); //Table destinationTable = Table("MyGlobalTable"); destinationTable [1][1] = response.value; print(response.data); print(response.value); print(request.headers);