<?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 : Görsel Api İle Web e Gönderme</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; : Görsel Api İle Web e Gönderme]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 03 Jul 2026 14:18:11 +0000</pubDate>
  <lastBuildDate>Fri, 03 Jul 2026 14:13:25 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.07</generator>
  <ttl>30</ttl>
  <WebWizForums:feedURL>https://forum.clomosy.com.tr/RSS_post_feed.asp?TID=1584</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[Görsel Api İle Web e Gönderme : var AnaForm: TclForm; KapsayiciPnl:...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1584&amp;PID=3660#3660</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> 1584<br /><strong>Gönderim Zamanı:</strong> 03&nbsp;Temmuz&nbsp;2026 Saat 14:13<br /><br /><div>var</div><div>&nbsp; AnaForm: TclForm;</div><div>&nbsp; KapsayiciPnl: TclProPanel;</div><div>&nbsp; SecilenGorsel: TclImage;</div><div>&nbsp; BtnGorselSec: TclProButton;</div><div>&nbsp; BtnWebGonder: TclProButton;</div><div><br></div><div>void OnGorselSecClick;</div><div>{</div><div>&nbsp; Clomosy.ImageChooser(AnaForm, SecilenGorsel);</div><div>}</div><div><br></div><div>void OnWebGonderClick;</div><div>var</div><div>&nbsp; LBase64Veri: String;</div><div>&nbsp; LJsonGovde: String;</div><div>&nbsp; LWebUrl: String;</div><div>&nbsp; LRest: TclRest;</div><div>&nbsp; LMemStream: TCLMemoryStream;</div><div>{</div><div>&nbsp; LMemStream = TCLMemoryStream.Create;</div><div>&nbsp; try</div><div>&nbsp; &nbsp; SecilenGorsel.Bitmap.SaveToStream(LMemStream);</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; if (LMemStream.Size == 0)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; ShowMessage('Lütfen önce gönderilecek bir görsel seçiniz!');</div><div>&nbsp; &nbsp; &nbsp; Exit;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; LBase64Veri = LMemStream.AsBase64;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; LJsonGovde = '{"image_name":"mobil_gorsel.jpg", "image_data":"' + LBase64Veri + '"}';</div><div>&nbsp; &nbsp; LWebUrl = '<a href="https://sizin-web-servisiniz.com/api/upload" target="_blank" rel="nofollow">https://sizin-web-servisiniz.com/api/upload</a>';</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; LRest = TclRest.Create;</div><div>&nbsp; &nbsp; try</div><div>&nbsp; &nbsp; &nbsp; LRest.BaseURL = LWebUrl;</div><div>&nbsp; &nbsp; &nbsp; LRest.Method = rmPOST;</div><div>&nbsp; &nbsp; &nbsp; LRest.Accept = 'application/json';</div><div>&nbsp; &nbsp; &nbsp; LRest.AddBody(LJsonGovde, 'application/json');</div><div>&nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; LRest.Execute;</div><div>&nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; if (LRest.Response &lt;&gt; '')</div><div>&nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ShowMessage('Görsel başarıyla gönderildi! Sunucu Yanıtı: ' + LRest.Response);</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; else</div><div>&nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ShowMessage('Görsel gönderildi fakat sunucudan boş yanıt döndü.');</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; finally</div><div>&nbsp; &nbsp; &nbsp; LRest.Free;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; finally</div><div>&nbsp; &nbsp; LMemStream.Free;</div><div>&nbsp; }</div><div>}</div><div><br></div><div>{</div><div>&nbsp; AnaForm = TclForm.Create(Self);</div><div>&nbsp; AnaForm.clSetCaption('TclImage ile API Görsel Gönderimi');</div><div>&nbsp; AnaForm.SetFormColor('#1e1e2e', '#1e1e2e', clGNone);</div><div><br></div><div>&nbsp; KapsayiciPnl = AnaForm.AddNewProPanel(AnaForm, 'KapsayiciPnl');</div><div>&nbsp; KapsayiciPnl.Align = alClient;</div><div>&nbsp; KapsayiciPnl.Margins.Left = 20; KapsayiciPnl.Margins.Right = 20;</div><div>&nbsp; KapsayiciPnl.Margins.Top = 20; KapsayiciPnl.Margins.Bottom = 20;</div><div>&nbsp; KapsayiciPnl.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#2e2e3e');</div><div>&nbsp; KapsayiciPnl.clProSettings.RoundHeight = 12; KapsayiciPnl.clProSettings.RoundWidth = 12;</div><div>&nbsp; KapsayiciPnl.SetclProSettings(KapsayiciPnl.clProSettings);</div><div><br></div><div>&nbsp; SecilenGorsel = AnaForm.AddNewImage(KapsayiciPnl, 'SecilenGorsel');</div><div>&nbsp; SecilenGorsel.Align = alTop;</div><div>&nbsp; SecilenGorsel.Height = 250;</div><div>&nbsp; SecilenGorsel.Margins.Top = 15; SecilenGorsel.Margins.Left = 15; SecilenGorsel.Margins.Right = 15;</div><div><br></div><div>&nbsp; BtnGorselSec = AnaForm.AddNewProButton(KapsayiciPnl, 'BtnGorselSec', '&#128248; GÖRSEL SEÇ / ÇEK');</div><div>&nbsp; BtnGorselSec.Align = alTop; BtnGorselSec.Height = 45; BtnGorselSec.Margins.Top = 20;</div><div>&nbsp; BtnGorselSec.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#3B82F6');</div><div>&nbsp; BtnGorselSec.clProSettings.FontColor = clAlphaColor.clWhite;</div><div>&nbsp; BtnGorselSec.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp; BtnGorselSec.clProSettings.RoundHeight = 8; BtnGorselSec.clProSettings.RoundWidth = 8;</div><div>&nbsp; BtnGorselSec.SetclProSettings(BtnGorselSec.clProSettings);</div><div>&nbsp; AnaForm.AddNewEvent(BtnGorselSec, tbeOnClick, 'OnGorselSecClick');</div><div><br></div><div>&nbsp; BtnWebGonder = AnaForm.AddNewProButton(KapsayiciPnl, 'BtnWebGonder', '&#127760; WEB''E API İLE GÖNDER');</div><div>&nbsp; BtnWebGonder.Align = alTop; BtnWebGonder.Height = 45; BtnWebGonder.Margins.Top = 15;</div><div>&nbsp; BtnWebGonder.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#10B981');</div><div>&nbsp; BtnWebGonder.clProSettings.FontColor = clAlphaColor.clWhite;</div><div>&nbsp; BtnWebGonder.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp; BtnWebGonder.clProSettings.RoundHeight = 8; BtnWebGonder.clProSettings.RoundWidth = 8;</div><div>&nbsp; BtnWebGonder.SetclProSettings(BtnWebGonder.clProSettings);</div><div>&nbsp; AnaForm.AddNewEvent(BtnWebGonder, tbeOnClick, 'OnWebGonderClick');</div><div><br></div><div>&nbsp; AnaForm.FormWaiting.Visible = False;</div><div>&nbsp; AnaForm.BtnFormMenu.Visible = False;</div><div>&nbsp; AnaForm.BtnGoBack.Visible = False;</div><div><br></div><div>&nbsp; AnaForm.Run;</div><div>}</div><a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/v4513226cdae34746b4dedf0b4dfa099e1781791509496" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/v4513226cdae34746b4dedf0b4dfa099e1781791509496"</a> integrity="sha512-ZE9pZaUXND66v380QUtch/5sE9tPFh2zg45pR2PB0CVkCtOREv2AJKkSidISWkysEuQ0EH8faUU5du78bx87UQ==" 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>Fri, 03 Jul 2026 14:13:25 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1584&amp;PID=3660#3660</guid>
  </item> 
  <item>
   <title><![CDATA[Görsel Api İle Web e Gönderme : Merhaba H&#252;seyinse&#231;ilen g&#246;rseli...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1584&amp;PID=3657#3657</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> 1584<br /><strong>Gönderim Zamanı:</strong> 03&nbsp;Temmuz&nbsp;2026 Saat 10:34<br /><br />Merhaba Hüseyin<br><br>seçilen görseli rest api servisine göndermek için görseli base64 formatına dönüştürüp bir json gövdesi içierisinde post etmen gerekli<br><br>aşağıda bir örnek bırakıyorum<br><br><div>var</div><div>&nbsp; AnaForm: TclForm;</div><div>&nbsp; KapsayiciPnl: TclProPanel;</div><div>&nbsp; SecilenGorsel: TclProImage;</div><div>&nbsp; BtnGorselSec: TclProButton;</div><div>&nbsp; BtnWebGonder: TclProButton;</div><div>&nbsp; GlobalRest: TclRest;</div><div><br></div><div>void OnApiResponseCompleted;</div><div>{</div><div>&nbsp; try</div><div>&nbsp; &nbsp; if (GlobalRest.Response &lt;&gt; '')</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; ShowMessage('Görsel başarıyla web sunucusuna gönderildi! Sunucu Yanıtı: ' + GlobalRest.Response);</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; else</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; ShowMessage('Görsel gönderildi fakat sunucudan boş yanıt döndü.');</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; GlobalRest.Free;</div><div>&nbsp; except</div><div>&nbsp; &nbsp; ShowMessage('Yükleme yanıtı işleme hatası: ' + LastExceptionMessage);</div><div>&nbsp; }</div><div>}</div><div><br></div><div>void OnGorselSecClick;</div><div>{</div><div>&nbsp; Clomosy.ImageChooser(AnaForm, SecilenGorsel);</div><div>}</div><div><br></div><div>void OnWebGonderClick;</div><div>var</div><div>&nbsp; LBase64Veri: String;</div><div>&nbsp; LJsonGovde: String;</div><div>&nbsp; LWebUrl: String;</div><div>{</div><div>&nbsp; if (SecilenGorsel.clProSettings.PictureSource == '')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; ShowMessage('Lütfen önce gönderilecek bir görsel seçiniz!');</div><div>&nbsp; &nbsp; Exit;</div><div>&nbsp; }</div><div><br></div><div>&nbsp; try</div><div>&nbsp; &nbsp; LBase64Veri = Clomosy.FileToBase64(SecilenGorsel.clProSettings.PictureSource);</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; LJsonGovde = '{"image_name":"mobil_gorsel.jpg", "image_data":"' + LBase64Veri + '"}';</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; LWebUrl = '<a href="https://sizin-web-servisiniz.com/api/upload" target="_blank" rel="nofollow">https://sizin-web-servisiniz.com/api/upload</a>';</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; GlobalRest = TclRest.Create;</div><div>&nbsp; &nbsp; GlobalRest.BaseURL = LWebUrl;</div><div>&nbsp; &nbsp; GlobalRest.Method = rmPOST;</div><div>&nbsp; &nbsp; GlobalRest.Accept = 'application/json';</div><div>&nbsp; &nbsp; GlobalRest.AddBody(LJsonGovde, 'application/json');</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; GlobalRest.OnCompleted = 'OnApiResponseCompleted';</div><div>&nbsp; &nbsp; GlobalRest.ExecuteAsync;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; ShowMessage('Görsel arka planda web sunucusuna yükleniyor, lütfen bekleyiniz...');</div><div>&nbsp; except</div><div>&nbsp; &nbsp; ShowMessage('Görsel dönüştürme veya API hatası: ' + LastExceptionMessage);</div><div>&nbsp; }</div><div>}</div><div><br></div><div>{</div><div>&nbsp; AnaForm = TclForm.Create(Self);</div><div>&nbsp; AnaForm.clSetCaption('API Görsel Gönderimi');</div><div>&nbsp; AnaForm.SetFormColor('#1e1e2e', '#1e1e2e', clGNone);</div><div><br></div><div>&nbsp; KapsayiciPnl = AnaForm.AddNewProPanel(AnaForm, 'KapsayiciPnl');</div><div>&nbsp; KapsayiciPnl.Align = alClient;</div><div>&nbsp; KapsayiciPnl.Margins.Left = 20; KapsayiciPnl.Margins.Right = 20;</div><div>&nbsp; KapsayiciPnl.Margins.Top = 20; KapsayiciPnl.Margins.Bottom = 20;</div><div>&nbsp; KapsayiciPnl.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#2e2e3e');</div><div>&nbsp; KapsayiciPnl.clProSettings.RoundHeight = 12; KapsayiciPnl.clProSettings.RoundWidth = 12;</div><div>&nbsp; KapsayiciPnl.SetclProSettings(KapsayiciPnl.clProSettings);</div><div><br></div><div>&nbsp; SecilenGorsel = AnaForm.AddNewProImage(KapsayiciPnl, 'SecilenGorsel');</div><div>&nbsp; SecilenGorsel.Align = alTop;</div><div>&nbsp; SecilenGorsel.Height = 250;</div><div>&nbsp; SecilenGorsel.Margins.Top = 15; SecilenGorsel.Margins.Left = 15; SecilenGorsel.Margins.Right = 15;</div><div>&nbsp; SecilenGorsel.clProSettings.PictureAutoFit = True;</div><div>&nbsp; SecilenGorsel.clProSettings.RoundHeight = 8; SecilenGorsel.clProSettings.RoundWidth = 8;</div><div>&nbsp; SecilenGorsel.SetclProSettings(SecilenGorsel.clProSettings);</div><div><br></div><div>&nbsp; BtnGorselSec = AnaForm.AddNewProButton(KapsayiciPnl, 'BtnGorselSec', '&#128248; GÖRSEL SEÇ / ÇEK');</div><div>&nbsp; BtnGorselSec.Align = alTop; BtnGorselSec.Height = 45; BtnGorselSec.Margins.Top = 20;</div><div>&nbsp; BtnGorselSec.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#3B82F6');</div><div>&nbsp; BtnGorselSec.clProSettings.FontColor = clAlphaColor.clWhite;</div><div>&nbsp; BtnGorselSec.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp; BtnGorselSec.clProSettings.RoundHeight = 8; BtnGorselSec.clProSettings.RoundWidth = 8;</div><div>&nbsp; BtnGorselSec.SetclProSettings(BtnGorselSec.clProSettings);</div><div>&nbsp; AnaForm.AddNewEvent(BtnGorselSec, tbeOnClick, 'OnGorselSecClick');</div><div><br></div><div>&nbsp; BtnWebGonder = AnaForm.AddNewProButton(KapsayiciPnl, 'BtnWebGonder', '&#127760; WEB''E API İLE GÖNDER');</div><div>&nbsp; BtnWebGonder.Align = alTop; BtnWebGonder.Height = 45; BtnWebGonder.Margins.Top = 15;</div><div>&nbsp; BtnWebGonder.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#10B981');</div><div>&nbsp; BtnWebGonder.clProSettings.FontColor = clAlphaColor.clWhite;</div><div>&nbsp; BtnWebGonder.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp; BtnWebGonder.clProSettings.RoundHeight = 8; BtnWebGonder.clProSettings.RoundWidth = 8;</div><div>&nbsp; BtnWebGonder.SetclProSettings(BtnWebGonder.clProSettings);</div><div>&nbsp; AnaForm.AddNewEvent(BtnWebGonder, tbeOnClick, 'OnWebGonderClick');</div><div><br></div><div>&nbsp; AnaForm.FormWaiting.Visible = False;</div><div>&nbsp; AnaForm.BtnFormMenu.Visible = False;</div><div>&nbsp; AnaForm.BtnGoBack.Visible = False;</div><div><br></div><div>&nbsp; AnaForm.Run;</div><div>}<br>burada gerekli kullanman gereken <a href="https://www.docs.clomosy.com/FileToBase64" target="_blank" rel="nofollow">https://www.docs.clomosy.com/FileToBase64</a><br><br><br><br></div><a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/v4513226cdae34746b4dedf0b4dfa099e1781791509496" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/v4513226cdae34746b4dedf0b4dfa099e1781791509496"</a> integrity="sha512-ZE9pZaUXND66v380QUtch/5sE9tPFh2zg45pR2PB0CVkCtOREv2AJKkSidISWkysEuQ0EH8faUU5du78bx87UQ==" 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>Fri, 03 Jul 2026 10:34:03 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1584&amp;PID=3657#3657</guid>
  </item> 
  <item>
   <title><![CDATA[Görsel Api İle Web e Gönderme : Clomosy&amp;#039;de herhangi bir projede...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1584&amp;PID=3656#3656</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=354">Hüseyin_Sadik</a><br /><strong>Konu:</strong> 1584<br /><strong>Gönderim Zamanı:</strong> 03&nbsp;Temmuz&nbsp;2026 Saat 10:29<br /><br /><font size="3">Clomosy'de herhangi bir projede görseli api ile nasıl web e gönderilebilir.</font>]]>
   </description>
   <pubDate>Fri, 03 Jul 2026 10:29:28 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1584&amp;PID=3656#3656</guid>
  </item> 
 </channel>
</rss>