<?xml version="1.0" encoding="iso-8859-9" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Clomosy | Forum : TCLRest Bağlanma Sorunu</title>
  <link>https://forum.clomosy.com.tr/</link>
  <description><![CDATA[XML içerik linki; Clomosy | Forum : Clomosy ile de&#287;i&#351;ken kullan&#305;m&#305; : TCLRest Bağlanma Sorunu]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 15 Apr 2026 04:35:58 +0000</pubDate>
  <lastBuildDate>Mon, 16 Feb 2026 11:52:03 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.07</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://forum.clomosy.com.tr/RSS_post_feed.asp?TID=1338</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Clomosy | Forum]]></title>
   <url>https://forum.clomosy.com.tr/forum_images/logo.png</url>
   <link>https://forum.clomosy.com.tr/</link>
  </image>
  <item>
   <title><![CDATA[TCLRest Bağlanma Sorunu : Gemini API&amp;#039; sini destekleyen...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1338&amp;PID=3004#3004</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=368">sumeyyesoy</a><br /><strong>Konu:</strong> 1338<br /><strong>Gönderim Zamanı:</strong> 16&nbsp;Şubat&nbsp;2026 Saat 11:52<br /><br />Gemini API' sini destekleyen sürümün 2.5 olduğu için kod hatası aldığımı fark ettim.&nbsp; &nbsp;"RestObj.BaseURL = '<a href="https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:generateC&#111;ntent?key=" target="_blank" rel="nofollow">https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:generateContent?key=</a>' + Google_API_Key;"<a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015"</a> integrity="sha512-ZpsOmlRQV6y907TI0dKBHq9Md29nnaEIPlkf84rnaERnq6zvWvPUqr2ft8M1aS28oN72PdrCzSjY4U6VaAw1EQ==" data-cf-beacon="{&quot;version&quot;:&quot;2024.11.0&quot;,&quot;token&quot;:&quot;439455f3e46c40b98dbd42a2f1a954d8&quot;,&quot;r&quot;:1,&quot;server_timing&quot;:{&quot;name&quot;:{&quot;cfCacheStatus&quot;:true,&quot;cfEdge&quot;:true,&quot;cfExtPri&quot;:true,&quot;cfL4&quot;:true,&quot;cfOrigin&quot;:true,&quot;cfSpeedBrain&quot;:true},&quot;location_startswith&quot;:null}}" crossorigin="anonymous"><div>ekleyerek kodu çalıştırabildim. Eklediğiniz kodu da projeye ekleyerek deneyeceğim. Teşekkürler.</div>]]>
   </description>
   <pubDate>Mon, 16 Feb 2026 11:52:03 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1338&amp;PID=3004#3004</guid>
  </item> 
  <item>
   <title><![CDATA[TCLRest Bağlanma Sorunu : var MyForm : TCLForm; metinMemo...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1338&amp;PID=3001#3001</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=257">Emr.Erkmn</a><br /><strong>Konu:</strong> 1338<br /><strong>Gönderim Zamanı:</strong> 16&nbsp;Şubat&nbsp;2026 Saat 10:40<br /><br /><div>var</div><div>&nbsp; MyForm : TCLForm;</div><div>&nbsp; metinMemo : TclMemo;</div><div>&nbsp; btnGonder : TclProButton;</div><div>&nbsp; RestObj : TclRest;</div><div>&nbsp; Google_API_Key : String;</div><div>&nbsp;&nbsp;</div><div>&nbsp; SecilenKita, SecilenGun : String;&nbsp;</div><div><br></div><div>void OnGeminiResponse;</div><div>{</div><div>&nbsp; try</div><div>&nbsp; &nbsp; if (RestObj.StatusCode == 200)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; metinMemo.Lines.Add('--- BAŞARILI ---');</div><div>&nbsp; &nbsp; &nbsp; metinMemo.Lines.Add(RestObj.Response);&nbsp;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; else</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; metinMemo.Lines.Add(' HATA');</div><div>&nbsp; &nbsp; &nbsp; metinMemo.Lines.Add('Kod: ' + IntToStr(RestObj.StatusCode));</div><div>&nbsp; &nbsp; &nbsp; metinMemo.Lines.Add('Cevap: ' + RestObj.Response);</div><div>&nbsp; &nbsp; }</div><div>&nbsp; except</div><div>&nbsp; &nbsp; ShowMessage('Cevap işlenirken hata oluştu: ' + LastExceptionMessage);</div><div>&nbsp; }</div><div>}</div><div><br></div><div>void PlanOlustur;</div><div>var</div><div>&nbsp; Prompt, JsonBody : String;</div><div>{</div><div>&nbsp; SecilenKita = 'Avrupa';</div><div>&nbsp; SecilenGun = '3 gün';</div><div><br></div><div>&nbsp; if ((SecilenKita &lt;&gt; '') &amp;&amp; (SecilenGun &lt;&gt; ''))&nbsp;</div><div>&nbsp; {</div><div>&nbsp; &nbsp; metinMemo.Lines.Clear;</div><div>&nbsp; &nbsp; metinMemo.Lines.Add('Gemini sunucusuna bağlanılıyor...');</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; Prompt = 'Bana ' + SecilenKita + ' bölgesinde, ' + SecilenGun + ' sürecek bir gezi planı yap.';</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; RestObj.BaseURL = '<a href="https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-flash:generateC&#111;ntent?key=" target="_blank" rel="nofollow">https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-flash:generateContent?key=</a>' + Google_API_Key;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; RestObj.Method = rmPost;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; JsonBody = '{ "contents": &#091;{ "parts": &#091;{"text": "' + Prompt + '"}&#093; }&#093; }';</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; RestObj.AddBody(JsonBody, 'application/json');&nbsp;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; RestObj.Execute;</div><div>&nbsp; }</div><div>&nbsp; else</div><div>&nbsp; {</div><div>&nbsp; &nbsp; ShowMessage('Lütfen kıta ve gün bilgilerini kontrol edin.');</div><div>&nbsp; }</div><div>}</div><div><br></div><div>{</div><div>&nbsp; MyForm = TCLForm.Create(Self);</div><div>&nbsp;&nbsp;</div><div>&nbsp; Google_API_Key = 'BURAYA_API_KEY_YAZIN';&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp; metinMemo = MyForm.AddNewMemo(MyForm, 'metinMemo', '');</div><div>&nbsp; metinMemo.Align = alClient;</div><div>&nbsp;&nbsp;</div><div>&nbsp; btnGonder = MyForm.AddNewProButton(MyForm, 'btnGonder', 'PLAN OLUŞTUR');</div><div>&nbsp; btnGonder.Align = alTop;</div><div>&nbsp; btnGonder.Height = 60;</div><div>&nbsp; btnGonder.Margins.Bottom = 10;</div><div>&nbsp;&nbsp;</div><div>&nbsp; MyForm.AddNewEvent(btnGonder, tbeOnClick, 'PlanOlustur');</div><div><br></div><div>&nbsp; RestObj = TclRest.Create;</div><div>&nbsp; RestObj.OnCompleted = 'OnGeminiResponse';&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp; MyForm.Run;</div><div>}<br><br>Kodu inceleyebilir misin?&nbsp;<br>Örnek olarak yazdım&nbsp;</div><a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015"</a> integrity="sha512-ZpsOmlRQV6y907TI0dKBHq9Md29nnaEIPlkf84rnaERnq6zvWvPUqr2ft8M1aS28oN72PdrCzSjY4U6VaAw1EQ==" data-cf-beacon="{&quot;version&quot;:&quot;2024.11.0&quot;,&quot;token&quot;:&quot;439455f3e46c40b98dbd42a2f1a954d8&quot;,&quot;r&quot;:1,&quot;server_timing&quot;:{&quot;name&quot;:{&quot;cfCacheStatus&quot;:true,&quot;cfEdge&quot;:true,&quot;cfExtPri&quot;:true,&quot;cfL4&quot;:true,&quot;cfOrigin&quot;:true,&quot;cfSpeedBrain&quot;:true},&quot;location_startswith&quot;:null}}" crossorigin="anonymous">]]>
   </description>
   <pubDate>Mon, 16 Feb 2026 10:40:10 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1338&amp;PID=3001#3001</guid>
  </item> 
  <item>
   <title><![CDATA[TCLRest Bağlanma Sorunu : GOOGLE AI Studio&amp;#039;dan al&#305;nm&#305;&#351;...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1338&amp;PID=3000#3000</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=344">M-Guney</a><br /><strong>Konu:</strong> 1338<br /><strong>Gönderim Zamanı:</strong> 16&nbsp;Şubat&nbsp;2026 Saat 10:33<br /><br />GOOGLE AI Studio'dan alınmış API keyine atanmış modeller&nbsp;<span style="color: rgb255, 255, 255; font-family: Inter, system-ui, -apple-system, MacSystemFont, &quot;Segoe UI&quot;, Roboto, Oxygen, Ubuntu, Cantarell, &quot;Fira Sans&quot;, &quot;Droid Sans&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space-collapse: preserve; : rgb33, 33, 33;"><a href="https://generativelanguage.googleapis.com/v1/models?key=YOUR_API_KEY" target="_blank" rel="nofollow">https://generativelanguage.googleapis.com/v1/models?key=YOUR_API_KEY</a></span>&nbsp;kullanılarak test edilmiş ve 1.5 gemini flash modelini kapsamadığı tespit edilmiştir. ve bunun ardından&nbsp;<span style="color: rgb255, 255, 255; font-family: Inter, system-ui, -apple-system, MacSystemFont, &quot;Segoe UI&quot;, Roboto, Oxygen, Ubuntu, Cantarell, &quot;Fira Sans&quot;, &quot;Droid Sans&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space-collapse: preserve; : rgb33, 33, 33;"><a href="https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:generateC&#111;ntent?key=" target="_blank" rel="nofollow">https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:generateContent?key=</a></span><span style="color: rgb255, 255, 255; font-family: Inter, system-ui, -apple-system, MacSystemFont, &quot;Segoe UI&quot;, Roboto, Oxygen, Ubuntu, Cantarell, &quot;Fira Sans&quot;, &quot;Droid Sans&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space-collapse: preserve; : rgb33, 33, 33;">YOUR_API_KEY</span>&nbsp;ile değiştirilerek problem giderilmiştir.<a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015"</a> integrity="sha512-ZpsOmlRQV6y907TI0dKBHq9Md29nnaEIPlkf84rnaERnq6zvWvPUqr2ft8M1aS28oN72PdrCzSjY4U6VaAw1EQ==" data-cf-beacon="{&quot;version&quot;:&quot;2024.11.0&quot;,&quot;token&quot;:&quot;439455f3e46c40b98dbd42a2f1a954d8&quot;,&quot;r&quot;:1,&quot;server_timing&quot;:{&quot;name&quot;:{&quot;cfCacheStatus&quot;:true,&quot;cfEdge&quot;:true,&quot;cfExtPri&quot;:true,&quot;cfL4&quot;:true,&quot;cfOrigin&quot;:true,&quot;cfSpeedBrain&quot;:true},&quot;location_startswith&quot;:null}}" crossorigin="anonymous">]]>
   </description>
   <pubDate>Mon, 16 Feb 2026 10:33:58 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1338&amp;PID=3000#3000</guid>
  </item> 
  <item>
   <title><![CDATA[TCLRest Bağlanma Sorunu : Merhaba S&#252;meyye,Gelen hata nedir...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1338&amp;PID=2998#2998</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=257">Emr.Erkmn</a><br /><strong>Konu:</strong> 1338<br /><strong>Gönderim Zamanı:</strong> 16&nbsp;Şubat&nbsp;2026 Saat 10:29<br /><br />Merhaba Sümeyye,&nbsp;<br>Gelen hata nedir benimle paylaşabilir misin?<br><br>AddBody kısmında JSON oluştururken, eğer Prompt değişkeni içinde enter karakteri veya tırnak işareti varsa JSON bozulur ve API hata verebilir&nbsp;<br><br>Tam görebilmek için kodu atabilir misin<a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015"</a> integrity="sha512-ZpsOmlRQV6y907TI0dKBHq9Md29nnaEIPlkf84rnaERnq6zvWvPUqr2ft8M1aS28oN72PdrCzSjY4U6VaAw1EQ==" data-cf-beacon="{&quot;version&quot;:&quot;2024.11.0&quot;,&quot;token&quot;:&quot;439455f3e46c40b98dbd42a2f1a954d8&quot;,&quot;r&quot;:1,&quot;server_timing&quot;:{&quot;name&quot;:{&quot;cfCacheStatus&quot;:true,&quot;cfEdge&quot;:true,&quot;cfExtPri&quot;:true,&quot;cfL4&quot;:true,&quot;cfOrigin&quot;:true,&quot;cfSpeedBrain&quot;:true},&quot;location_startswith&quot;:null}}" crossorigin="anonymous">]]>
   </description>
   <pubDate>Mon, 16 Feb 2026 10:29:09 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1338&amp;PID=2998#2998</guid>
  </item> 
  <item>
   <title><![CDATA[TCLRest Bağlanma Sorunu : oid OnGeminiResponse;{ try  metinMemo.Lines.Clear;...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1338&amp;PID=2991#2991</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=368">sumeyyesoy</a><br /><strong>Konu:</strong> 1338<br /><strong>Gönderim Zamanı:</strong> 16&nbsp;Şubat&nbsp;2026 Saat 09:35<br /><br /><div>oid OnGeminiResponse;</div><div>{</div><div>&nbsp; try</div><div>&nbsp; &nbsp; metinMemo.Lines.Clear;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; if (RestObj.StatusCode == 200)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; metinMemo.Lines.Add('--- PLAN OLUŞTURULDU ---');</div><div>&nbsp; &nbsp; &nbsp; metinMemo.Lines.Add(RestObj.Response);&nbsp;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; else</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; metinMemo.Lines.Add('Hata Oluştu. Kod: ' + IntToStr(RestObj.ResponseHeaders.Count));</div><div>&nbsp; &nbsp; &nbsp; metinMemo.Lines.Add(RestObj.Response);</div><div>&nbsp; &nbsp; }</div><div>&nbsp; except</div><div>&nbsp; &nbsp; ShowMessage('Bir hata oluştu: ' + LastExceptionMessage);</div><div>&nbsp; }</div><div>}</div><div><br></div><div>void PlanOlustur;</div><div>var</div><div>&nbsp; Url, Prompt,CleanPrompt JsonBody: String;</div><div>{</div><div>&nbsp; if ((SecilenKita &lt;&gt; '') &amp;&amp; (SecilenGun &lt;&gt; ''))&nbsp;</div><div>&nbsp; {</div><div>&nbsp; &nbsp; metinMemo.Lines.Clear;</div><div>&nbsp; &nbsp; metinMemo.Lines.Add(SecilenKita + ' bölgesi için ' + SecilenGun + ' süreli plan hazırlanıyor...');</div><div>&nbsp; &nbsp; metinMemo.Lines.Add('Lütfen bekleyin...');</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp; &nbsp; Prompt = 'Bana ' + SecilenKita + ' bölgesinde, ' + SecilenGun + ' sürecek, gün gün ayrılmış, detaylı ve Türkçe bir gezi rehberi oluştur. Maddeler halinde olsun.';</div><div><br></div><div>&nbsp; &nbsp; RestObj.BaseURL = '<a href="https://generativelanguage.googleapis.com/v1/models/gemini-1.5-flash:generateC&#111;ntent?key=" target="_blank" rel="nofollow">https://generativelanguage.googleapis.com/v1/models/gemini-1.5-flash:generateContent?key=</a>' + Google_API_Key;</div><div><br></div><div>&nbsp; &nbsp; RestObj.Method = rmPost;</div><div>&nbsp; &nbsp; RestObj.ContentType = 'application/json';</div><div>&nbsp; &nbsp; RestObj.AddBody('{"contents": &#091;{"parts": &#091;{"text": "' + Prompt + '"}&#093;}&#093;}','application/json' );</div><div><br></div><div>&nbsp; &nbsp; RestObj.Execute;</div><div>&nbsp; }</div><div>}</div><div><br></div><div><br></div><div><div>&nbsp; Google_API_Key = 'apikeyBuKısımda';&nbsp;</div><div><br></div><div><br></div><div>&nbsp; RestObj = TclRest.Create;</div><div>&nbsp; RestObj.OnCompleted = 'OnGeminiResponse';&nbsp;</div></div><div><br></div><div><br></div><div>Gemini' a bağlanmak istiyorum ancak yukarıdaki kod çalışmıyor. Hata ile ilgili yardım edebilir misiniz?</div><a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015"</a> integrity="sha512-ZpsOmlRQV6y907TI0dKBHq9Md29nnaEIPlkf84rnaERnq6zvWvPUqr2ft8M1aS28oN72PdrCzSjY4U6VaAw1EQ==" data-cf-beacon="{&quot;version&quot;:&quot;2024.11.0&quot;,&quot;token&quot;:&quot;439455f3e46c40b98dbd42a2f1a954d8&quot;,&quot;r&quot;:1,&quot;server_timing&quot;:{&quot;name&quot;:{&quot;cfCacheStatus&quot;:true,&quot;cfEdge&quot;:true,&quot;cfExtPri&quot;:true,&quot;cfL4&quot;:true,&quot;cfOrigin&quot;:true,&quot;cfSpeedBrain&quot;:true},&quot;location_startswith&quot;:null}}" crossorigin="anonymous">]]>
   </description>
   <pubDate>Mon, 16 Feb 2026 09:35:56 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1338&amp;PID=2991#2991</guid>
  </item> 
 </channel>
</rss>