updated for mbed os 5.4

no such method: requests