Almost completed HTTP api