캐릭터 챗봇 #338
| @@ -150,7 +150,7 @@ class ChatRoomService( | |||||||
|             val httpEntity = HttpEntity(requestBody, headers) |             val httpEntity = HttpEntity(requestBody, headers) | ||||||
|  |  | ||||||
|             val response = restTemplate.exchange( |             val response = restTemplate.exchange( | ||||||
|                 "$apiUrl/api/session", |                 "$apiUrl/api/sessions", | ||||||
|                 HttpMethod.POST, |                 HttpMethod.POST, | ||||||
|                 httpEntity, |                 httpEntity, | ||||||
|                 String::class.java |                 String::class.java | ||||||
| @@ -238,7 +238,7 @@ class ChatRoomService( | |||||||
|             val httpEntity = HttpEntity(null, headers) |             val httpEntity = HttpEntity(null, headers) | ||||||
|  |  | ||||||
|             val response = restTemplate.exchange( |             val response = restTemplate.exchange( | ||||||
|                 "$apiUrl/api/session/$sessionId", |                 "$apiUrl/api/sessions/$sessionId", | ||||||
|                 HttpMethod.GET, |                 HttpMethod.GET, | ||||||
|                 httpEntity, |                 httpEntity, | ||||||
|                 String::class.java |                 String::class.java | ||||||
| @@ -307,7 +307,7 @@ class ChatRoomService( | |||||||
|                 val httpEntity = HttpEntity(null, headers) |                 val httpEntity = HttpEntity(null, headers) | ||||||
|  |  | ||||||
|                 val response = restTemplate.exchange( |                 val response = restTemplate.exchange( | ||||||
|                     "$apiUrl/api/session/$sessionId/end", |                     "$apiUrl/api/sessions/$sessionId/end", | ||||||
|                     HttpMethod.PUT, |                     HttpMethod.PUT, | ||||||
|                     httpEntity, |                     httpEntity, | ||||||
|                     String::class.java |                     String::class.java | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user