<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>muramura63</author_name>
  <author_url>https://blog.hatena.ne.jp/muramura63/</author_url>
  <blog_title>63’s blog</blog_title>
  <blog_url>https://muramura63.hatenablog.jp/</blog_url>
  <categories>
  </categories>
  <description>PowerShellでAPIをリクエストしたいときとか、 何度もリクエストをトライしてほしい時ってありますよね。 普通だったらレスポンスコードを条件に ループを繰り返してリトライしてあげたらいいだけです。※ここから本題です。 このコードで$resにResponse情報が入ると思ったのですが、、、、、空文字でした。(*‘∀‘)？ $res = Invoke-RestMethod -Uri $url -Method Post -Headers $headers -Body $bodyBytesじゃあ、Response情報はどこにいくのか下記が答えです。 try{ Invoke-RestMethod…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmuramura63.hatenablog.jp%2Fentry%2F2020%2F05%2F14%2F000537&quot; title=&quot;Invoke-RestMethod -Uri を繰り返したいとき - 63’s blog&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>2020-05-14 00:05:37</published>
  <title>Invoke-RestMethod -Uri を繰り返したいとき</title>
  <type>rich</type>
  <url>https://muramura63.hatenablog.jp/entry/2020/05/14/000537</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
