83. HTTP

Handle HTTP Requests

83.1. Authors

  • Anas Nashif <nashif@suse.de>

83.2. Summary of Module Globals

List of Global Functions

  • Get - Send a get request

  • Post - Send a post request

  • setUserPassword - Set user and password for HTTP authentication

List of Global Variables

    83.3. Global Functions

    83.3.1. Get

    Send a get request

    Function parameters

    • string url

    • string output

    Return value

    • map - Reponse map with HTTP code and transfer size and time

    83.3.2. Post

    Send a post request

    Function parameters

    • string url

    • string output

    • string postData

    Return value

    • map - Reponse map with HTTP code and transfer size and time

    83.3.3. setUserPassword

    Set user and password for HTTP authentication

    Return value

    • map

    83.4. Global Variables

    83.5. Module Requirements

    none