Function (Path CDEnvC Header / http.h)

http_send

AutoTree http_send(char *url, HttpMethod method, AutoTree args, AutoTree header);

Send a http request


Parameters

  char *url
    URL Address

  HttpMethod method
    Request Type, can be http_get or http_post

  AutoTree args
    Request Parameters

  AutoTree header
    Additional header for request

函数 (属于 CDEnvC拓展 / http.h)

http_send

AutoTree http_send(char *url, HttpMethod method, AutoTree args, AutoTree header);

发送Http请求


参数

  char *url
    请求的URL

  HttpMethod method
    请求类型,可以是http_get或http_post

  AutoTree args
    请求参数

  AutoTree header
    请求附加头部