update request headers
object type of options.data
add global scope function
add defaultResponseHandler
print curl command line string