zerogw payload api, send response before forward payload