testing httparty instead of typh