removed version from the url and added it to headers