http.h

Provide a function used to send http request, require include autotree.h first


Type

  typedef builtin HttpMethod;
    Representation the type of http request


Function

  AutoTree http_send(char *url, HttpMethod method, AutoTree args, AutoTree header);
    Send a http request

  AutoTree http_send_secure(char *url, AutoTree args);
    Send a http request to C Code Develop HTTP APIs, attach login info


Variable

  HttpMethod http_post;
    Representation Http Post

  HttpMethod http_get;
    Representation Http Get

头文件

http.h

提供一个用于发送Http请求的函数,需要先包含autotree.h


类型

  typedef builtin HttpMethod;
    表示Http请求的类型


函数

  AutoTree http_send(char *url, HttpMethod method, AutoTree args, AutoTree header);
    发送Http请求

  AutoTree http_send_secure(char *url, AutoTree args);
    向C Code Develop HTTP APIs发送Http请求,附带登陆参数


变量

  HttpMethod http_post;
    表示Post请求

  HttpMethod http_get;
    表示Get请求