Skip to content

Commit

Permalink
useragent:tesla
Browse files Browse the repository at this point in the history
  • Loading branch information
r-shf committed Oct 28, 2015
1 parent 87c57d0 commit a12e31f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions filters/ehealth/tools/HTTPHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 41,7 @@ int HTTPHandler::sendHTTP(std::string message)
/* First set the URL that is about to receive our POST. This URL can
just as well be a https:// URL if that is what should receive the
data. */
curl_easy_setopt(curl, CURLOPT_USERAGENT, "tesla");
curl_easy_setopt(curl, CURLOPT_URL, this->url.c_str());
/* Now specify the POST data */
curl_easy_setopt(curl, CURLOPT_POSTFIELDS, message.c_str());
Expand Down

0 comments on commit a12e31f

Please sign in to comment.