<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>celeron1ghz</author_name>
  <author_url>https://blog.hatena.ne.jp/celeron1ghz/</author_url>
  <blog_title>ツー</blog_title>
  <blog_url>https://celeron1ghz.hatenablog.com/</blog_url>
  <categories>
    <anon>プログラミング</anon>
  </categories>
  <description>307 Temporary Redirect でそういうことができるらしい。 なおSPAじゃなく普通のMVCな構成の時の話。 方法 注意点 まとめ 方法 リダイレクトする側はPHPではこんな感じ。汎用性を考えてこんな感じで。 function redirect($url, int $statusCode = null) { header(&quot;Location: {$url}&quot;, true, $statusCode); } こんな感じで使う。 redirect(&quot;/moge&quot;, 307); 注意点 マジで本文そのままリダイレクトされるので、パラメータ値でフレームワークの制御をしている場合は注意。無…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fceleron1ghz.hatenablog.com%2Fentry%2F2023%2F09%2F28%2F182024&quot; title=&quot;POSTの本文をそのままにして別ページにredirectする - ツー&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>2023-09-28 18:20:24</published>
  <title>POSTの本文をそのままにして別ページにredirectする</title>
  <type>rich</type>
  <url>https://celeron1ghz.hatenablog.com/entry/2023/09/28/182024</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
