ngx.fetch(url, [options] ) Makes a request t0 fetch an URL (05.1), returns a Promise that resolves with the Response object Since 0ZO, 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 in 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.Z Q) Example: ngx.fetch( 'http:/ /nginx org/ then ( reply reply.text ()) then (body return(200_ body) catchle return(501, message) ) ngx log(level, nes Writes a message to the error log with the specified level of logging: The Zevel parameter specifies one of the log levels the message parameter can be a string or Buffer: The following log levels can be specified: ngx INFO, ngx.WARN, ngx . ERR. built-in objects sage) and