N/http

Make HTTP calls from server or client scripts.

Oracle reference

0 of 17 methods have Mynt syntax 0%

0 implemented0 in progress0 planned0 under consideration17 open for proposals

Module functions

  1. http.delete(options) Sends an HTTP DELETE request and returns the response. Open for proposals ·
  2. http.get(options) Sends an HTTP GET request and returns the response. Open for proposals ·
  3. http.post(options) Sends an HTTP POST request and returns the response. Open for proposals ·
  4. http.put(options) Sends an HTTP PUT request and returns the response. Open for proposals ·
  5. http.request(options) Sends an HTTP request and returns the response. Open for proposals ·

ServerRequest object

  1. ServerRequest.getLineCount(options) Returns the number of lines in a sublist. Open for proposals ·
  2. ServerRequest.getSublistValue(options) Returns the value of a sublist line item. Open for proposals ·

ServerResponse object

  1. ServerResponse.addHeader(options) Adds a header to the response. Open for proposals ·
  2. ServerResponse.getHeader(options) Returns the value of a response header. Open for proposals ·
  3. ServerResponse.renderPdf(options) Generates and renders a PDF directly to the response. Open for proposals ·
  4. ServerResponse.sendRedirect(options) Sets the redirect URL by resolving to a NetSuite resource. Open for proposals ·
  5. ServerResponse.setCdnCacheable(options) Sets CDN caching for a period of time. Open for proposals ·
  6. ServerResponse.setHeader(options) Sets the value of a response header. Open for proposals ·
  7. ServerResponse.write(options) Writes information (text, xml, html) to the response. Open for proposals ·
  8. ServerResponse.writeFile(options) Writes a file to the response. Open for proposals ·
  9. ServerResponse.writeLine(options) Writes line information (text, xml, html) to the response. Open for proposals ·
  10. ServerResponse.writePage(options) Generates a page. Open for proposals ·