I am using the following call via Unirest as shown below
HttpResponse<String> response = Unirest.get(“https://food-unit-of-measurement-converter.p.rapidapi.com/convert”)
.queryString(“unit”, “lbs”)
.queryString(“ingredient”, “tomato”)
.queryString(“value”, 40)
.header(“X-RapidAPI-Key”, “5R8RTSaibMSjhDbl5DyxubW5rydPJPXD”)
.header(“X-RapidAPI-Host”, “food-unit-of-measurement-
converter.p.rapidapi.com”)
.asString();
unfortunately after a while waiting I get a timeout message.
Join in the discussion - add comment below: