BLE advertising data stored in array and post it on server

i am doing poc on BLE advertising using esp32. i am getting output of all nearby devices with rssi value,i want to store mac address and rssi value of nearby devices in array and send it to server.
please help me ragarding this how i can do this,

i am attaching my snippet and output

rssi_post.ino (1.44 KB)