configurationsessions

0

I am working on getting the configuration for configApps Feature flags. I am making the following call in c#

		var client = new HttpClient();
		var url = new Uri("https://us-west-1.console.aws.amazon.com/systems-manager/appconfig/configurationsessions");  // url to make post request to
		var json = "{ApplicationIdentifier: ddeded, ConfigurationProfileIdentifier: deded, EnvironmentIdentifier: deded}";  // json to post

		// create string content with MediaTypeHeaderValue
		var stringContent = new StringContent(json)
		{
			Headers =
			  {
				ContentType = new MediaTypeHeaderValue("application/json")
				
			  }
		};
		
		// make http request
		var response = await client.PostAsync(url, stringContent);

I am getting the 200 OK status , however I am not receiving the Token which I need for getting the configuration values.

  • Hi, What is Authorization set for?

已提問 2 年前檢視次數 100 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南