implementing creating http request part