ngx. fetch(url, [options Makes request fetch URL (05.1), returns Promise that resolves with the Response object. Since 0ZQ, the https: / / scheme is supported, redirects are not handled: The options parameter is expected to be an object with the following keys: body request body; by default is empty buffer size the buffer size for reading the response, by default is 4096 headers request headers object max response body_size the maximum size of the response body bytes by default is 32768 method HTTP method, by default the GET method is used verify enables or disables verification of the HTTPS server certificate , by default is true (0.ZQ) Example: ngx fetch( 'http: / /nginx org/ then (reply reply.text ( ) ) then (body r.return(200_ body) ) catch(e return(501 message) ) ngx. log(level, message) Writes a message to the error with the specified level of logging: The level parameter specifies one of the log levels, the message parameter can be string or Buffer: The following log levels can be specified: ngx. INFO , ngx. WARN; and ngx . ERR_ built-in objects crypto The crypto object is global object that allows using cryptographic functionality (since 0Z.O): crypto.getRandomValues(typedArray) log