N/http
Make HTTP calls from server or client scripts.
Oracle reference0 of 17 methods have Mynt syntax 0%
0 implemented0 in progress0 planned0 under consideration17 open for proposals
Module functions
- http.delete(options) Sends an HTTP DELETE request and returns the response. Open for proposals ·
- http.get(options) Sends an HTTP GET request and returns the response. Open for proposals ·
- http.post(options) Sends an HTTP POST request and returns the response. Open for proposals ·
- http.put(options) Sends an HTTP PUT request and returns the response. Open for proposals ·
- http.request(options) Sends an HTTP request and returns the response. Open for proposals ·
ServerRequest object
ServerResponse object
- ServerResponse.addHeader(options) Adds a header to the response. Open for proposals ·
- ServerResponse.getHeader(options) Returns the value of a response header. Open for proposals ·
- ServerResponse.renderPdf(options) Generates and renders a PDF directly to the response. Open for proposals ·
- ServerResponse.sendRedirect(options) Sets the redirect URL by resolving to a NetSuite resource. Open for proposals ·
- ServerResponse.setCdnCacheable(options) Sets CDN caching for a period of time. Open for proposals ·
- ServerResponse.setHeader(options) Sets the value of a response header. Open for proposals ·
- ServerResponse.write(options) Writes information (text, xml, html) to the response. Open for proposals ·
- ServerResponse.writeFile(options) Writes a file to the response. Open for proposals ·
- ServerResponse.writeLine(options) Writes line information (text, xml, html) to the response. Open for proposals ·
- ServerResponse.writePage(options) Generates a page. Open for proposals ·