add a BASIC auth restful api caller pattern.
add a BASIC auth restful api caller pattern.