added fxn for content negotatiion API