<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Naotsugu</author_name>
  <author_url>https://blog.hatena.ne.jp/Naotsugu/</author_url>
  <blog_title>A Memorandum</blog_title>
  <blog_url>https://blog1.mammb.com/</blog_url>
  <categories>
    <anon>Kotlin</anon>
  </categories>
  <description>リクエストパスとパラメータ 入力フォームを作成する POST リクエストを処理する JSON を返却する blog1.mammb.com の続きです。 リクエストパスとパラメータ 前回までの例では、Routing にて単純な GET リクエストを処理しました。 POST など他のメソッドを受け付けるには以下のように、該当するHTTPメソッドに応答したもので受け付けるだけです。 fun Routing.root() { get(&quot;path&quot;) { } post(&quot;path&quot;) { } } パスは以下のように構造化して指定することもできます。 route(&quot;a&quot;) { route(&quot;b&quot;) { g…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog1.mammb.com%2Fentry%2F2020%2F12%2F18%2F090000&quot; title=&quot;Kotlin製Webアプリケーションフレームワーク Ktor の使い方3 〜リクエストパラメータとJSONレスポンス〜 - A Memorandum&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>https://cdn-ak.f.st-hatena.com/images/fotolife/N/Naotsugu/20201208/20201208213355.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-12-18 09:00:00</published>
  <title>Kotlin製Webアプリケーションフレームワーク Ktor の使い方3 〜リクエストパラメータとJSONレスポンス〜</title>
  <type>rich</type>
  <url>https://blog1.mammb.com/entry/2020/12/18/090000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
