Functions for calling external APIs and sites.
Use this to get the user's IP address from the current request.
Downloads text from specified URL.
Downloads text from specified URL and BASE64 encodes it.
Calls specified web service and expects JSON. Parses JSON to object.
Calls specified web service with method PUT. Expects JSON. Parses JSON to object.
Same as HttpPost but with values posted in a form setup.
Returns a file by name from the uploaded form as an base64 encoded string.
Returns a an array of uploaded files. Use this function to support uploading files through your custom Docly pure JS API's.