{"id":909,"date":"2024-04-15T13:39:45","date_gmt":"2024-04-15T04:39:45","guid":{"rendered":"http:\/\/inwelly.com\/?p=909"},"modified":"2024-04-15T13:39:45","modified_gmt":"2024-04-15T04:39:45","slug":"php-laravel-url-%ec%9d%84-%ed%86%b5%ed%95%b4-%eb%b3%80%ec%88%98%ea%b0%92-%eb%84%98%ea%b8%b0%ea%b8%b0","status":"publish","type":"post","link":"https:\/\/inwelly.com\/?p=909","title":{"rendered":"PHP Laravel &#8211; URL \uc744 \ud1b5\ud574 \ubcc0\uc218\uac12 \ub118\uae30\uae30"},"content":{"rendered":"\n<pre class=\"wp-block-code\"><code> \\routes\\web.php<\/code><\/pre>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<pre class=\"wp-block-preformatted\"><strong>&lt;?php<br><\/strong><strong><br><\/strong>\/*<br>|--------------------------------------------------------------------------<br>| Web Routes<br>|--------------------------------------------------------------------------<br>|<br>| Here is where you can register web routes for your application. These<br>| routes are loaded by the RouteServiceProvider within a group which<br>| contains the \"web\" middleware group. Now create something great!<br>|<br>*\/<br><br><br><br>Route::<em>get<\/em>('\/user\/{id}',<strong>function<\/strong>($id) {<br>    <strong>return <\/strong>'This is user : '.$id;<br>} );<\/pre>\n<\/blockquote>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"754\" height=\"319\" src=\"http:\/\/inwelly.com\/wp-content\/uploads\/2024\/04\/image-469.png\" alt=\"\" class=\"wp-image-910\" style=\"width:920px;height:auto\"\/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>&lt;?php\/*|&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;| Web Routes|&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;|| Here is where you can register web routes for your application. These| routes are loaded by the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[112],"tags":[],"class_list":["post-909","post","type-post","status-publish","format-standard","hentry","category-laravel"],"_links":{"self":[{"href":"https:\/\/inwelly.com\/index.php?rest_route=\/wp\/v2\/posts\/909","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/inwelly.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/inwelly.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/inwelly.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/inwelly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=909"}],"version-history":[{"count":1,"href":"https:\/\/inwelly.com\/index.php?rest_route=\/wp\/v2\/posts\/909\/revisions"}],"predecessor-version":[{"id":911,"href":"https:\/\/inwelly.com\/index.php?rest_route=\/wp\/v2\/posts\/909\/revisions\/911"}],"wp:attachment":[{"href":"https:\/\/inwelly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=909"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/inwelly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=909"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/inwelly.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=909"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}