updated for mbed-os 5.5

Fork of Task324Solution by Nicholas Outram

no such method: requests