<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>cakephper</author_name>
  <author_url>https://blog.hatena.ne.jp/cakephper/</author_url>
  <blog_title>cakephperの日記(CakePHP, Laravel, PHP)</blog_title>
  <blog_url>https://cakephper.hatenadiary.org/</blog_url>
  <categories>
    <anon>cakePHP</anon>
    <anon>ライブラリ</anon>
  </categories>
  <description>CakePHP1.2.5を利用してます。HttpSocketクラスを使うと、HTTPを使った通信が簡単に使えます。例えば自分のサーバから、他のサーバにHTTPでデータを送るとか簡単にできます。 基本的には、HttpSocketクラスを読み込んで、newして、getメソッドを呼ぶだけ。 App::import('Core', 'HttpSocket'); $HttpSocket = new HttpSocket(); $query = array('q1' =&gt; 'queryvalue1'); $ret = $HttpSocket-&gt;get('http://hogehoge.com/hoge/'…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcakephper.hatenadiary.org%2Fentry%2F20091110%2F1257815977&quot; title=&quot; HttpSocketクラスを使ってHTTPヘッダをセット - cakephperの日記(CakePHP, Laravel, PHP)&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2009-11-10 10:19:37</published>
  <title> HttpSocketクラスを使ってHTTPヘッダをセット</title>
  <type>rich</type>
  <url>https://cakephper.hatenadiary.org/entry/20091110/1257815977</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
