Hi guys. I just want to add datas to Firebase database, also i can do but my question is how can i create my own child name.
var url = https://uretimkontrol-9dd30.firebaseio.com/DURUSLAR/.json
var data = "{\"tarih\" :\""+ d.Tarih + "\",\"saat\" :\""+ d.Saat + "\",\"makina\" :\""+ d.Makina + "\",\"sure\" :\"" + d.Sure + "\",\"nedeni\" :\"" + d.Nedeni + "\",\"yanittarihi\" :\"" + d.Yanittarihi + "\",\"yanitsaati\" :\"" + d.Yanitsaati + "\",\"kayitid\" :\"" + id + "\"}"; wc.UploadString(url, data); this code create i random child in firebase database like -ANFKSDF0FSKJDFS1-how can i set my own child name(i also tried var url="....../DURUSLAR/AAA.json but this code line create a firebase own child under my AAA child)2-if icant how can i take firebase child name and put it on this code id=?Thank yuo so much
var data = "{\"tarih\" :\""+ d.Tarih + "\",
\"saat\" :\""+ d.Saat + "\",\"makina\" :\""+ d.Makina + "\",
\"sure\" :\"" + d.Sure + "\",\"nedeni\" :\"" + d.Nedeni + "\",
\"yanittarihi\" :\"" + d.Yanittarihi + "\",
\"yanitsaati\" :\"" + d.Yanitsaati + "\",\"kayitid\" :\"" + id + "\"}";
wc.UploadString(url, data);
this code create i random child in firebase database like -ANFKSDF0FSKJDFS
1-how can i set my own child name
(i also tried var url="....../DURUSLAR/AAA.json but this code line create a firebase own child under my AAA child)
2-if icant how can i take firebase child name and put it on this code id=?
Thank yuo so much