adding curl request in site, facet and user api's