<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>curl | ばすにっきTips</title>
	<atom:link href="https://takabus.com/tips/tag/curl/feed/" rel="self" type="application/rss+xml" />
	<link>https://takabus.com/tips</link>
	<description>プログラミングやサーバー、日々のTipsをメモしています。</description>
	<lastBuildDate>Sat, 10 Sep 2022 03:34:13 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.4.3</generator>

<image>
	<url>https://takabus.com/tips/wp-content/uploads/2022/12/cropped-tips-1-32x32.png</url>
	<title>curl | ばすにっきTips</title>
	<link>https://takabus.com/tips</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>CurlコマンドをPHPのソースコードに変換するには？</title>
		<link>https://takabus.com/tips/1819/</link>
					<comments>https://takabus.com/tips/1819/#respond</comments>
		
		<dc:creator><![CDATA[ばすにっきTips]]></dc:creator>
		<pubDate>Sat, 10 Sep 2022 03:34:11 +0000</pubDate>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[curl]]></category>
		<guid isPermaLink="false">https://takabus.com/tips/?p=1819</guid>

					<description><![CDATA[CurlコマンドからPHPのソースコードを生成する裏技を紹介します。]]></description>
										<content:encoded><![CDATA[
<p>CurlコマンドからPHPのソースコードを生成する裏技を紹介します。</p>



<h2 class="wp-block-heading">「curl-to-PHP」が便利</h2>



<p>CurlコマンドからPHPのソースコードを生成できる「curl-to-PHP」というWebサービスが便利です。</p>




<a rel="noopener" href="https://incarnate.github.io/curl-to-php/" title="curl-to-PHP: Convert Curl commands to PHP code" class="blogcard-wrap external-blogcard-wrap a-wrap cf" target="_blank"><div class="blogcard external-blogcard eb-left cf"><div class="blogcard-label external-blogcard-label"><span class="fa"></span></div><figure class="blogcard-thumbnail external-blogcard-thumbnail"><img decoding="async" src="https://s.wordpress.com/mshots/v1/https%3A%2F%2Fincarnate.github.io%2Fcurl-to-php%2F?w=160&#038;h=90" alt="" class="blogcard-thumb-image external-blogcard-thumb-image" width="160" height="90" /></figure><div class="blogcard-content external-blogcard-content"><div class="blogcard-title external-blogcard-title">curl-to-PHP: Convert Curl commands to PHP code</div><div class="blogcard-snippet external-blogcard-snippet"></div></div><div class="blogcard-footer external-blogcard-footer cf"><div class="blogcard-site external-blogcard-site"><div class="blogcard-favicon external-blogcard-favicon"><img decoding="async" src="https://www.google.com/s2/favicons?domain=https://incarnate.github.io/curl-to-php/" alt="" class="blogcard-favicon-image external-blogcard-favicon-image" width="16" height="16" /></div><div class="blogcard-domain external-blogcard-domain">incarnate.github.io</div></div></div></div></a>



<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="1024" height="688" src="https://takabus.com/tips/wp-content/uploads/2022/09/image-20-1024x688.png" alt="" class="wp-image-1820" srcset="https://takabus.com/tips/wp-content/uploads/2022/09/image-20-1024x688.png 1024w, https://takabus.com/tips/wp-content/uploads/2022/09/image-20-300x202.png 300w, https://takabus.com/tips/wp-content/uploads/2022/09/image-20-768x516.png 768w, https://takabus.com/tips/wp-content/uploads/2022/09/image-20.png 1112w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>上のテキストエリアにCurlコマンドを入力すると、同じ処理のPHPソースコードが自動的に生成されます。</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="779" src="https://takabus.com/tips/wp-content/uploads/2022/09/image-21-1024x779.png" alt="" class="wp-image-1821" srcset="https://takabus.com/tips/wp-content/uploads/2022/09/image-21-1024x779.png 1024w, https://takabus.com/tips/wp-content/uploads/2022/09/image-21-300x228.png 300w, https://takabus.com/tips/wp-content/uploads/2022/09/image-21-768x584.png 768w, https://takabus.com/tips/wp-content/uploads/2022/09/image-21.png 1148w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<h2 class="wp-block-heading">ぜひお試しを</h2>



<p>どのAPIでも、だいたいのドキュメントではCurlコマンドのサンプルが掲載されています。</p>



<p>curl-to-PHPを活用することにより、Curlコマンドのサンプルをコピペするだけで、PHPのコードが生成できます。大変便利ですので、ぜひお試しを♪</p>



<figure class="wp-block-embed is-type-wp-embed is-provider-ばすにっきtips wp-block-embed-ばすにっきtips"><div class="wp-block-embed__wrapper">

<a href="https://takabus.com/tips/135/" title="CurlコマンドをC/C++のコードに変換する方法" class="blogcard-wrap internal-blogcard-wrap a-wrap cf"><div class="blogcard internal-blogcard ib-left cf"><div class="blogcard-label internal-blogcard-label"><span class="fa"></span></div><figure class="blogcard-thumbnail internal-blogcard-thumbnail"><img loading="lazy" decoding="async" width="160" height="90" src="https://takabus.com/tips/wp-content/uploads/2021/09/curlコマンドをcppに変換-160x90.png" class="blogcard-thumb-image internal-blogcard-thumb-image wp-post-image" alt="" srcset="https://takabus.com/tips/wp-content/uploads/2021/09/curlコマンドをcppに変換-160x90.png 160w, https://takabus.com/tips/wp-content/uploads/2021/09/curlコマンドをcppに変換-300x169.png 300w, https://takabus.com/tips/wp-content/uploads/2021/09/curlコマンドをcppに変換-1024x576.png 1024w, https://takabus.com/tips/wp-content/uploads/2021/09/curlコマンドをcppに変換-768x432.png 768w, https://takabus.com/tips/wp-content/uploads/2021/09/curlコマンドをcppに変換-1536x864.png 1536w, https://takabus.com/tips/wp-content/uploads/2021/09/curlコマンドをcppに変換-120x68.png 120w, https://takabus.com/tips/wp-content/uploads/2021/09/curlコマンドをcppに変換-320x180.png 320w, https://takabus.com/tips/wp-content/uploads/2021/09/curlコマンドをcppに変換-374x210.png 374w, https://takabus.com/tips/wp-content/uploads/2021/09/curlコマンドをcppに変換.png 1920w" sizes="(max-width: 160px) 100vw, 160px" /></figure><div class="blogcard-content internal-blogcard-content"><div class="blogcard-title internal-blogcard-title">CurlコマンドをC/C++のコードに変換する方法</div><div class="blogcard-snippet internal-blogcard-snippet">curlコマンドをつかって、C/C++のソースコードを自動生成する方法を紹介します。</div></div><div class="blogcard-footer internal-blogcard-footer cf"><div class="blogcard-site internal-blogcard-site"><div class="blogcard-favicon internal-blogcard-favicon"><img loading="lazy" decoding="async" src="https://www.google.com/s2/favicons?domain=https://takabus.com/tips" alt="" class="blogcard-favicon-image internal-blogcard-favicon-image" width="16" height="16" /></div><div class="blogcard-domain internal-blogcard-domain">takabus.com</div></div><div class="blogcard-date internal-blogcard-date"><div class="blogcard-post-date internal-blogcard-post-date">2021.09.17</div></div></div></div></a>
</div></figure>
]]></content:encoded>
					
					<wfw:commentRss>https://takabus.com/tips/1819/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>CurlコマンドをC/C++のコードに変換する方法</title>
		<link>https://takabus.com/tips/135/</link>
					<comments>https://takabus.com/tips/135/#respond</comments>
		
		<dc:creator><![CDATA[ばすにっきTips]]></dc:creator>
		<pubDate>Fri, 17 Sep 2021 05:30:03 +0000</pubDate>
				<category><![CDATA[C++]]></category>
		<category><![CDATA[curl]]></category>
		<guid isPermaLink="false">https://takabus.com/tips/?p=135</guid>

					<description><![CDATA[curlコマンドをつかって、C/C++のソースコードを自動生成する方法を紹介します。]]></description>
										<content:encoded><![CDATA[
<p>curlcurlコマンドをつかって、同じ動作をするC/C++のソースコードを自動生成する方法を紹介します。</p>



<div class="wp-block-cocoon-blocks-blogcard blogcard-type bct-together">
<p>C#のソースコードも自動生成できます！こちらもご覧ください！</p>

<a href="https://takabus.com/tips/77/" title="CurlコマンドをC#のHttpClientに変換する方法" class="blogcard-wrap internal-blogcard-wrap a-wrap cf"><div class="blogcard internal-blogcard ib-left cf"><div class="blogcard-label internal-blogcard-label"><span class="fa"></span></div><figure class="blogcard-thumbnail internal-blogcard-thumbnail"><img loading="lazy" decoding="async" width="160" height="90" src="https://takabus.com/tips/wp-content/uploads/2021/09/csharpのアイコン-160x90.png" class="blogcard-thumb-image internal-blogcard-thumb-image wp-post-image" alt="" srcset="https://takabus.com/tips/wp-content/uploads/2021/09/csharpのアイコン-160x90.png 160w, https://takabus.com/tips/wp-content/uploads/2021/09/csharpのアイコン-300x169.png 300w, https://takabus.com/tips/wp-content/uploads/2021/09/csharpのアイコン-1024x576.png 1024w, https://takabus.com/tips/wp-content/uploads/2021/09/csharpのアイコン-768x432.png 768w, https://takabus.com/tips/wp-content/uploads/2021/09/csharpのアイコン-1536x864.png 1536w, https://takabus.com/tips/wp-content/uploads/2021/09/csharpのアイコン-120x68.png 120w, https://takabus.com/tips/wp-content/uploads/2021/09/csharpのアイコン-320x180.png 320w, https://takabus.com/tips/wp-content/uploads/2021/09/csharpのアイコン-374x210.png 374w, https://takabus.com/tips/wp-content/uploads/2021/09/csharpのアイコン.png 1920w" sizes="(max-width: 160px) 100vw, 160px" /></figure><div class="blogcard-content internal-blogcard-content"><div class="blogcard-title internal-blogcard-title">CurlコマンドをC#のHttpClientに変換する方法</div><div class="blogcard-snippet internal-blogcard-snippet">curlコマンドをC#に移植したい場合の方法を紹介します。</div></div><div class="blogcard-footer internal-blogcard-footer cf"><div class="blogcard-site internal-blogcard-site"><div class="blogcard-favicon internal-blogcard-favicon"><img loading="lazy" decoding="async" src="https://www.google.com/s2/favicons?domain=https://takabus.com/tips" alt="" class="blogcard-favicon-image internal-blogcard-favicon-image" width="16" height="16" /></div><div class="blogcard-domain internal-blogcard-domain">takabus.com</div></div><div class="blogcard-date internal-blogcard-date"><div class="blogcard-post-date internal-blogcard-post-date">2021.07.22</div></div></div></div></a>
</div>



<h2 class="wp-block-heading">curlコマンドにはソースコード生成機能がついている！</h2>



<p>curlコマンドには、C/C++のソースコードを自動生成してくれる機能が搭載されています。libcurlオプションを使うことにより、コマンドで実行したのとまったく同じ動作をするC++のソースコードを出力することができます。curlコマンドで行っていた動作をC/C++アプリケーションに組み込みたいときなどにつかうと便利です。</p>



<h2 class="wp-block-heading">C/C++のコードを生成するには？</h2>



<p>コードを生成させる方法ですが、とってもかんたん。</p>



<p>curl実行時に<code><span class="marker-under"><strong><span class="bold-red">--libcurl &lt;ソースを出力するファイル名>.cpp</span></strong></span></code>を追加するだけです。</p>



<pre class="wp-block-code"><code>test@sv02:~ $curl https://takabus.com <strong>--libcurl code.cpp</strong></code></pre>



<p>このサイトのホームページにアクセスするコマンドに、<strong>&#8211;libcurl</strong>を追加しました。</p>



<p>すると、カレントディレクトリに<span class="bold-red">code.cppファイル</span>が生成されています。</p>



<pre class="wp-block-code"><code>/********* Sample code generated by the curl command line tool **********
 * All curl_easy_setopt() options are documented at:
 * https://curl.haxx.se/libcurl/c/curl_easy_setopt.html
 ************************************************************************/
#include &lt;curl/curl.h>

int main(int argc, char *argv&#91;])
{
  CURLcode ret;
  CURL *hnd;

  hnd = curl_easy_init();
  curl_easy_setopt(hnd, CURLOPT_BUFFERSIZE, 102400L);
  curl_easy_setopt(hnd, CURLOPT_URL, "https://takabus.com");
  curl_easy_setopt(hnd, CURLOPT_NOPROGRESS, 1L);
  curl_easy_setopt(hnd, CURLOPT_USERAGENT, "curl/7.64.0");
  curl_easy_setopt(hnd, CURLOPT_MAXREDIRS, 50L);
  curl_easy_setopt(hnd, CURLOPT_HTTP_VERSION, (long)CURL_HTTP_VERSION_2TLS);
  curl_easy_setopt(hnd, CURLOPT_HTTP09_ALLOWED, 1L);
  curl_easy_setopt(hnd, CURLOPT_SSH_KNOWNHOSTS, "/home/test/.ssh/known_hosts");
  curl_easy_setopt(hnd, CURLOPT_FTP_SKIP_PASV_IP, 1L);
  curl_easy_setopt(hnd, CURLOPT_TCP_KEEPALIVE, 1L);

  /* Here is a list of options the curl code used that cannot get generated
     as source easily. You may select to either not use them or implement
     them yourself.

  CURLOPT_WRITEDATA set to a objectpointer
  CURLOPT_INTERLEAVEDATA set to a objectpointer
  CURLOPT_WRITEFUNCTION set to a functionpointer
  CURLOPT_READDATA set to a objectpointer
  CURLOPT_READFUNCTION set to a functionpointer
  CURLOPT_SEEKDATA set to a objectpointer
  CURLOPT_SEEKFUNCTION set to a functionpointer
  CURLOPT_ERRORBUFFER set to a objectpointer
  CURLOPT_STDERR set to a objectpointer
  CURLOPT_HEADERFUNCTION set to a functionpointer
  CURLOPT_HEADERDATA set to a objectpointer

  */

  ret = curl_easy_perform(hnd);

  curl_easy_cleanup(hnd);
  hnd = NULL;

  return (int)ret;
}
/**** End of sample code ****/</code></pre>



<p>生成されたファイルを確認してみると、ご覧の通り、C++のコードが作成されています。あとはこれをビルドすれば、実行したcurlコマンドと同じ動作をするバイナリを作成することができます。</p>



<h2 class="wp-block-heading">注意点</h2>



<p>自動生成されたソースコードには、自動的に一部のオプションが追加されています。</p>



<pre class="wp-block-code"><code>  curl_easy_setopt(hnd, CURLOPT_BUFFERSIZE, 102400L);
  curl_easy_setopt(hnd, CURLOPT_URL, "https://takabus.com");
  curl_easy_setopt(hnd, CURLOPT_NOPROGRESS, 1L);
  curl_easy_setopt(hnd, CURLOPT_USERAGENT, "curl/7.64.0");
  curl_easy_setopt(hnd, CURLOPT_MAXREDIRS, 50L);
  curl_easy_setopt(hnd, CURLOPT_HTTP_VERSION, (long)CURL_HTTP_VERSION_2TLS);
  curl_easy_setopt(hnd, CURLOPT_HTTP09_ALLOWED, 1L);
  curl_easy_setopt(hnd, CURLOPT_SSH_KNOWNHOSTS, "/home/test/.ssh/known_hosts");
  curl_easy_setopt(hnd, CURLOPT_FTP_SKIP_PASV_IP, 1L);
  curl_easy_setopt(hnd, CURLOPT_TCP_KEEPALIVE, 1L);</code></pre>



<p>注意すべきは CURLOPT_USERAGENT や CURLOPT_SSH_KNOWNHOSTS のあたりでしょうか。</p>



<p>CURLOPT_USERAGENTはユーザーエージェントを指定するオプションで、コマンド実行時に指定しないとcurlのバージョンが自動的に追加されます。ユーザーエージェントを手動で指定したい場合は、編集が必要です。</p>



<p>また、CURLOPT_SSH_KNOWNHOSTSも不要でしょうから、ビルド前に削除することをおすすめします。</p>



<h2 class="wp-block-heading">コンパイルするには？</h2>



<h3 class="wp-block-heading">libcurlのインストール</h3>



<p>自動生成されたソースコードは、libcurlを必要とします。コンパイル前にlibcurl-devをインストールしておいてください。</p>



<p>Linuxであれば、コンパイル前にlibcurl-devをインストールしておく必要があります。</p>



<pre class="wp-block-code"><code>$sudo apt install libcurl4-openssl-dev</code></pre>



<h3 class="wp-block-heading">コンパイル</h3>



<p>コンパイルするには、gccコマンドを実行します。</p>



<pre class="wp-block-code"><code>$gcc code.cpp -lcurl</code></pre>



<p>「-lcurl」オプションをつけてください。libcurlをリンクする必要があります。</p>



<pre class="wp-block-code"><code>$ls a.out
a.out</code></pre>



<p>実行すると、バイナリファイルが出力されます。これを実行すると、ソースコード生成時に行ったcurlコマンドと同じ動作が行われます。</p>



<h2 class="wp-block-heading">まとめ</h2>



<p>curlコマンドでC/C++のソースコードを生成させる方法を紹介しました。</p>



<p>既存のアプリケーションにGET・POST機能を組み込みたい場合などもあるでしょう。今回紹介した方法を使えば、curlコマンドでテストしてから、そのままソースコードを生成し、カスタマイズしてプログラムに組み込むことができてしまいます。</p>



<div class="wp-block-cocoon-blocks-blogcard blogcard-type bct-together">

<a href="https://takabus.com/tips/77/" title="CurlコマンドをC#のHttpClientに変換する方法" class="blogcard-wrap internal-blogcard-wrap a-wrap cf"><div class="blogcard internal-blogcard ib-left cf"><div class="blogcard-label internal-blogcard-label"><span class="fa"></span></div><figure class="blogcard-thumbnail internal-blogcard-thumbnail"><img loading="lazy" decoding="async" width="160" height="90" src="https://takabus.com/tips/wp-content/uploads/2021/09/csharpのアイコン-160x90.png" class="blogcard-thumb-image internal-blogcard-thumb-image wp-post-image" alt="" srcset="https://takabus.com/tips/wp-content/uploads/2021/09/csharpのアイコン-160x90.png 160w, https://takabus.com/tips/wp-content/uploads/2021/09/csharpのアイコン-300x169.png 300w, https://takabus.com/tips/wp-content/uploads/2021/09/csharpのアイコン-1024x576.png 1024w, https://takabus.com/tips/wp-content/uploads/2021/09/csharpのアイコン-768x432.png 768w, https://takabus.com/tips/wp-content/uploads/2021/09/csharpのアイコン-1536x864.png 1536w, https://takabus.com/tips/wp-content/uploads/2021/09/csharpのアイコン-120x68.png 120w, https://takabus.com/tips/wp-content/uploads/2021/09/csharpのアイコン-320x180.png 320w, https://takabus.com/tips/wp-content/uploads/2021/09/csharpのアイコン-374x210.png 374w, https://takabus.com/tips/wp-content/uploads/2021/09/csharpのアイコン.png 1920w" sizes="(max-width: 160px) 100vw, 160px" /></figure><div class="blogcard-content internal-blogcard-content"><div class="blogcard-title internal-blogcard-title">CurlコマンドをC#のHttpClientに変換する方法</div><div class="blogcard-snippet internal-blogcard-snippet">curlコマンドをC#に移植したい場合の方法を紹介します。</div></div><div class="blogcard-footer internal-blogcard-footer cf"><div class="blogcard-site internal-blogcard-site"><div class="blogcard-favicon internal-blogcard-favicon"><img loading="lazy" decoding="async" src="https://www.google.com/s2/favicons?domain=https://takabus.com/tips" alt="" class="blogcard-favicon-image internal-blogcard-favicon-image" width="16" height="16" /></div><div class="blogcard-domain internal-blogcard-domain">takabus.com</div></div><div class="blogcard-date internal-blogcard-date"><div class="blogcard-post-date internal-blogcard-post-date">2021.07.22</div></div></div></div></a>
</div>



<p>なお、今回紹介したlibcurlオプションは、一部環境では実行できない場合があるようです。MacOSにデフォルトインストールされているcurlコマンドでは動かないといったことを聞いたことがありますので、動作しない場合はcurlコマンドを公式リポジトリからインストールしてみることをおすすめします。</p>




<a rel="noopener" href="https://curl.se/" title="curl" class="blogcard-wrap external-blogcard-wrap a-wrap cf" target="_blank"><div class="blogcard external-blogcard eb-left cf"><div class="blogcard-label external-blogcard-label"><span class="fa"></span></div><figure class="blogcard-thumbnail external-blogcard-thumbnail"><img loading="lazy" decoding="async" src="https://s.wordpress.com/mshots/v1/https%3A%2F%2Fcurl.se%2F?w=160&#038;h=90" alt="" class="blogcard-thumb-image external-blogcard-thumb-image" width="160" height="90" /></figure><div class="blogcard-content external-blogcard-content"><div class="blogcard-title external-blogcard-title">curl</div><div class="blogcard-snippet external-blogcard-snippet"></div></div><div class="blogcard-footer external-blogcard-footer cf"><div class="blogcard-site external-blogcard-site"><div class="blogcard-favicon external-blogcard-favicon"><img loading="lazy" decoding="async" src="https://www.google.com/s2/favicons?domain=https://curl.se/" alt="" class="blogcard-favicon-image external-blogcard-favicon-image" width="16" height="16" /></div><div class="blogcard-domain external-blogcard-domain">curl.se</div></div></div></div></a>
]]></content:encoded>
					
					<wfw:commentRss>https://takabus.com/tips/135/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>CurlコマンドをC#のHttpClientに変換する方法</title>
		<link>https://takabus.com/tips/77/</link>
					<comments>https://takabus.com/tips/77/#respond</comments>
		
		<dc:creator><![CDATA[ばすにっきTips]]></dc:creator>
		<pubDate>Thu, 22 Jul 2021 14:53:23 +0000</pubDate>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[HttpClient]]></category>
		<category><![CDATA[curl]]></category>
		<guid isPermaLink="false">https://takabus.com/tips/?p=77</guid>

					<description><![CDATA[curlコマンドをC#に移植したい場合の方法を紹介します。]]></description>
										<content:encoded><![CDATA[
<p>Curlコマンドで実行していた処理をC#に移植したい場合に使えるWebサービスがあります。</p>




<a rel="noopener" href="https://curl.olsh.me/" title="curl to C# converter" class="blogcard-wrap external-blogcard-wrap a-wrap cf" target="_blank"><div class="blogcard external-blogcard eb-left cf"><div class="blogcard-label external-blogcard-label"><span class="fa"></span></div><figure class="blogcard-thumbnail external-blogcard-thumbnail"><img loading="lazy" decoding="async" src="https://s.wordpress.com/mshots/v1/https%3A%2F%2Fcurl.olsh.me%2F?w=160&#038;h=90" alt="" class="blogcard-thumb-image external-blogcard-thumb-image" width="160" height="90" /></figure><div class="blogcard-content external-blogcard-content"><div class="blogcard-title external-blogcard-title">curl to C# converter</div><div class="blogcard-snippet external-blogcard-snippet">curl to C# converter online</div></div><div class="blogcard-footer external-blogcard-footer cf"><div class="blogcard-site external-blogcard-site"><div class="blogcard-favicon external-blogcard-favicon"><img loading="lazy" decoding="async" src="https://www.google.com/s2/favicons?domain=https://curl.olsh.me/" alt="" class="blogcard-favicon-image external-blogcard-favicon-image" width="16" height="16" /></div><div class="blogcard-domain external-blogcard-domain">curl.olsh.me</div></div></div></div></a>



<p>Curlコマンドを貼り付けてやると、C#のコードが自動生成されるというサービスです。</p>



<p>オプションをつけていても、ちゃんと変換されます。</p>



<p>とても便利なので、ぜひお試しください！</p>
]]></content:encoded>
					
					<wfw:commentRss>https://takabus.com/tips/77/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
