New topic: 

About CURL to Twitter on Windows Error

<http://forums.realsoftware.com/viewtopic.php?t=34378>

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        ueda          Post subject: About CURL to Twitter on Windows 
ErrorPosted: Thu Jun 24, 2010 12:30 am                         
Joined: Thu Feb 07, 2008 3:46 am
Posts: 26                I use MonkeyBread Plugin.
http://www.monkeybreadsoftware.de/realbasic/

With CURLMBS, an error occurs when I do the post in Twitter.
I do not have any problem in MacOS X, but the following error returns by 
Windows.

Please teach a solution.
---------------------------------------------------------------------------------------

Error Code:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>417 Expectation Failed</title>
</head><body>
<h1>Expectation Failed</h1>
<p>The expectation given in the Expect request-header
field could not be met by this server.</p>
<p>The client sent<pre>
  Expect: 100-continue
</pre>
but we only allow the 100-continue expectation.</p>
</body></html>


---------------------------------------------------------------------------------------

Source Code:

dim c as CURLMBS

  c.OptionURL = "http://twitter.com/statuses/update.xml";
  c.OptionUserPassword = user_name_str + ":" + password_str
  c.OptionPost = true
  c.OptionPostFields = "status=" + message_str

  error_code_int = c.Perform()

---------------------------------------------------------------------------------------

Thanks for your help.   
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to