[post] using instance_exec to wrap an API