convert float to hex string

no such method: requests