Some API changes

Added http headers