pierredavidbelanger / chatter-bot-api

A Mono/.NET, JAVA, Python and PHP chatter bot API that supports Cleverbot, JabberWacky and Pandorabots.
181 stars 72 forks source link

Cleverbot webservicemin is down #15

Closed antoinechampion closed 8 years ago

antoinechampion commented 8 years ago

C#, .NET 4.5, VS 2015 The url http://www.cleverbot.com/webservicemin 404'd for me, so it raised an exception:

System.Net.WebException: The remote server returned an error: (404) Not Found.
   at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
   at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at ChatterBotAPI.Utils.<Post>d__2.MoveNext()

in Utils.Post(string url, IDictionary<string, string> parameters)

pierredavidbelanger commented 8 years ago

Hi, seeing the signature of the Utils.Post method, it seems you are not using the latest version of the lib.

This method now takes 3 parameters.

This was changed to handle cookies, which is now required (and this is why you got a 404).