configure http client
add get post delete for Apiclient