Skip to content

http

http::get

This method performs a GET request to a specific URL. The result is returned.

See examples/http/ on the repo.

Parameters

  • const std::string &

Returns

  • std::string

http::post

This method performs a POST request to a specific URL. The result is returned.

See examples/http/ on the repo.

Parameters

  • const std::string &
  • const std::string & parameters

Returns

  • std::string

http::escape

This method encodes and escapes a string so it can properly be provided as a parameter value.

See examples/http/ on the repo.

Parameters

  • const std::string &

Returns

  • std::string