help! a problem with esp8266

i am a new beginner of arduino. i want to make a project to sent the data from sensors to my computer with esp8266. l have already successfully controled LED on esp8266 from my computer. i would appreciate it very much if someone can tell me how to send the data from sensors to my computer with esp8266. Or is there any easy project i can refer to. i have searched google but cannot figure out anything.

Which sensors are you trying to get data from to send to the computer? Is this a question about getting the data from the sensor, or how to send it via WiFi?

Example sketches for Arduino boards and ESP8266 can be found in your IDE under File->Examples. To see the ESP8266 examples, make sure you have the ESP8266 board selected in Tools->Board:. If you don't find an example specifi to the sensor you are using, then just search for the sensor name and the board name e.g "DHT11 ESP8266" or "DHT22 LoLin V3". This usually finds a number of examples/tutorials/instructables etc. That's how I found an example for the DHT11 sensor.

i want to send the data of ultrasonic sensor to computer.
i use a IOT platform called Asksensor. and i successfully send data to the web, but i don't know how to download the data instantaneously.
Namely i want to get the data as soon as the sensor sends the data to the web.
have you used the platform before? or i will appreciate it very much if you would recommend some platforms.

"Namely i want to get the data as soon as the sensor sends the data to the web."

There is a lot of info available on using the wifi chips to send data to various places in "the cloud". What application on your computer do you expect to use to get the data from the remote servers?