By using AWS re:Post, you agree to the Terms of Use

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?

asked 4 months ago27 views
No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions