Here is a good way to trigger the webhook and send data from ESPbasic. First you have to get you key code from the IFTTT website, search webhook and then press the documentation button. This shows how to send value1 = 1, value2 = two, and value3 = 333. The print will show the returned response from IFTTT. One caveat there cannot be any spaces in the data for the three values otherwise a 502 BAD GATEWAY is returned by ESPBasic.
print wget("maker.ifttt.com/trigger/your_event_name/with/key/your_key_here?value1=1&value2=two&value3=333")
end