http:BL API in Scala