Connect to the server and start to send a POST request. @param aServerName Name of the server being connected to. If NULL, the "Host" header line won't be sent @param aServerPort Port to connect to on the server @param aURLPath Url to request @param aUserAgent User-Agent string to send. If NULL the default user-a
| 130 | @return 0 if successful, else error |
| 131 | */ |
| 132 | int post(const char* aServerName, |
| 133 | uint16_t aServerPort, |
| 134 | const char* aURLPath, |
| 135 | const char* aUserAgent =NULL) |
| 136 | { return startRequest(aServerName, aServerPort, aURLPath, HTTP_METHOD_POST, aUserAgent); } |
| 137 | |
| 138 | /** Connect to the server and start to send a POST request. |
| 139 | @param aServerName Name of the server being connected to. If NULL, the |
nothing calls this directly
no outgoing calls
no test coverage detected