Changed http.post to http.get