add request, response, and logic codes.
add response error code defines.
add upload file support, and error handle support.