format code
use client httpRequest