<filename>faas/vmware-dispatch/examples/python3/http_func.py
import time

import requests

def handle(ctx, payload):
    resp = requests.get("http://example.com")
    return {"status": resp.status_code}

<filename>faas/vmware-dispatch/examples/python3/http_func.py
import time

import requests

def handle(ctx, payload):
    resp = requests.get("http://example.com")
    return {"status": resp.status_code}
