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?

demandé il y a 2 ans100 vues
Aucune réponse

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions