Пример #1
0
 /// <summary>
 /// Exercise 1 - Basic response (token and name).
 /// </summary>
 /// <remarks>
 /// This will call your api looking for a resource available at your base url
 /// /user.
 ///
 /// For example, if the url you request is "http://localhost:5001/api/answers"
 /// this will make a GET request to "http://localhost:5001/api/answers/user"
 ///
 /// The result will be a JSON object in the format {"name": "test", "token" :
 /// "1234-455662-22233333-3333"}
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='request'>
 /// </param>
 public static IList <DeveloperExerciseServicesExerciseResult> ApiExerciseExercise1Post(this IDevChallengeResourceClient operations, DeveloperExerciseApiModelsTrolleyExerciseRequest request = default(DeveloperExerciseApiModelsTrolleyExerciseRequest))
 {
     return(operations.ApiExerciseExercise1PostAsync(request).GetAwaiter().GetResult());
 }