I think this is based on a misunderstanding:
"in further version of php http extension is not available. iam using wamp server."
The PECL HTTP extension is perfectly available for any current PHP version, it's simply not installed by default and must be installed as a PECL extension. In the best case that's as simple as this typed on the command line:
$ pecl install pecl_http