2019-05-11T14:30:56.137 [Error] run.csx(38,16): error CS1501: No overload for method ‘CreateResponse’ takes 2 arguments
2019-05-11T14:30:56.207 [Error] Executed ‘Functions.TmobileIoT’ (Failed, Id=b2acae17-00ad-4d4b-9676-4d08d14c5e89)
Script compilation failed.
Please look at this error, seems you made a mistake in your code.
Also I do not really grasp the concept of sending regularly data from a sensor, since AT commands works if you type them and not automatically. Serial.printing them doesn’t work in the serial monitor of the arduino ide. Could you also help for this problem? If not it is also ok.
You have to write code that sends AT commands to the modem on a regular basis. You can use the Arduino IDE for that.