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?

gefragt vor 2 Jahren100 Aufrufe
Keine Antworten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen