{"id":41714,"date":"2024-11-08T05:01:08","date_gmt":"2024-11-08T05:01:08","guid":{"rendered":"https:\/\/atmokpo.com\/w\/?p=41714"},"modified":"2024-11-26T06:35:53","modified_gmt":"2024-11-26T06:35:53","slug":"17-c%ea%b3%bc-rest-api%eb%a5%bc-%ec%9d%b4%ec%9a%a9%ed%95%9c-%ec%99%b8%eb%b6%80-%ec%8b%9c%ec%8a%a4%ed%85%9c%ea%b3%bc%ec%9d%98-%ec%97%b0%eb%8f%99-rest-api%ec%9d%98-%ea%b0%9c%eb%85%90-%eb%b0%8f","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/41714\/","title":{"rendered":"17.C#\uacfc REST API\ub97c \uc774\uc6a9\ud55c \uc678\ubd80 \uc2dc\uc2a4\ud15c\uacfc\uc758 \uc5f0\ub3d9, REST API\uc758 \uac1c\ub150 \ubc0f \uc7a5\uc810"},"content":{"rendered":"<h2>17. C#\uacfc REST API\ub97c \uc774\uc6a9\ud55c \uc678\ubd80 \uc2dc\uc2a4\ud15c\uacfc\uc758 \uc5f0\ub3d9, REST API\uc758 \uac1c\ub150 \ubc0f \uc7a5\uc810<\/h2>\n<p>\uc624\ub298\ub0a0\uc758 \uc81c\uc870\uc5c5 \ud658\uacbd\uc5d0\uc11c MES(Manufacturing Execution System)\uc640 \uc2a4\ub9c8\ud2b8 \ud329\ud1a0\ub9ac\uc758 \uad6c\ud604\uc740 \uc678\ubd80 \uc2dc\uc2a4\ud15c\uacfc\uc758 \ud1b5\ud569\uc774 \ud544\uc218\uc801\uc785\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 C# \uc5b8\uc5b4\ub97c \uc0ac\uc6a9\ud558\uc5ec REST API\ub97c \ud1b5\ud574 \uc678\ubd80 \uc2dc\uc2a4\ud15c\uacfc \uc5f0\ub3d9\ud558\ub294 \ubc29\ubc95\uc744 \ud0d0\uad6c\ud558\uace0, REST API\uc758 \uac1c\ub150\uacfc \uc7a5\uc810\uc5d0 \ub300\ud574 \uc0c1\uc138\ud788 \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>1. REST API\uc758 \uac1c\ub150<\/h3>\n<p>REST(Representational State Transfer) API\ub294 \uc6f9 \uc11c\ube44\uc2a4 \ub514\uc790\uc778 \uc544\ud0a4\ud14d\ucc98 \uc2a4\ud0c0\uc77c \uc911 \ud558\ub098\ub85c, HTTP \uc694\uccad\uc744 \uc0ac\uc6a9\ud558\uc5ec \ub370\uc774\ud130\ub97c \uc804\uc1a1\ud558\uace0 \uc870\uc791\ud558\ub294 \ubc29\uc2dd\uc785\ub2c8\ub2e4. RESTful API\ub294 \uc790\uc6d0(resource)\uc744 URI(Uniform Resource Identifier)\ub85c \uc2dd\ubcc4\ud558\uace0, HTTP \uba54\uc11c\ub4dc(GET, POST, PUT, DELETE \ub4f1)\ub97c \ud1b5\ud574 \uc774\ub4e4 \uc790\uc6d0\uc5d0 \ub300\ud55c CRUD(Create, Read, Update, Delete) \uc791\uc5c5\uc744 \uc218\ud589\ud569\ub2c8\ub2e4.<\/p>\n<h4>1.1 REST\uc758 \uae30\ubcf8 \uc6d0\uce59<\/h4>\n<ul>\n<li><strong>\uc790\uc6d0 \uae30\ubc18:<\/strong> REST\ub294 \uc790\uc6d0\uc5d0 \ub300\ud55c \uc811\uadfc\uc744 \uc911\uc2ec\uc73c\ub85c \uc124\uacc4\ub429\ub2c8\ub2e4. \uac01 \uc790\uc6d0\uc740 URI\ub85c \uc2dd\ubcc4\ub429\ub2c8\ub2e4.<\/li>\n<li><strong>\uc0c1\ud0dc \ube44\uc800\uc7a5:<\/strong> REST\ub294 \ud074\ub77c\uc774\uc5b8\ud2b8\uc640 \uc11c\ubc84 \uac04\uc758 \uc0c1\ud638\uc791\uc6a9\uc5d0\uc11c \uc0c1\ud0dc\ub97c \uc720\uc9c0\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4. \uac01 \uc694\uccad\uc740 \ub3c5\ub9bd\uc801\uc774\uba70, \ud544\uc694\ud55c \ubaa8\ub4e0 \uc815\ubcf4\ub97c \uc694\uccad\uc5d0 \ud3ec\ud568\ud574\uc57c \ud569\ub2c8\ub2e4.<\/li>\n<li><strong>\uba54\uc2dc\uc9c0 \uae30\ubc18:<\/strong> REST API\ub294 \ub2e4\uc591\ud55c \ud615\uc2dd(XML, JSON \ub4f1)\uc758 \uba54\uc2dc\uc9c0\ub97c \uc0ac\uc6a9\ud558\uc5ec \ub370\uc774\ud130\ub97c \uc804\uc1a1\ud569\ub2c8\ub2e4.<\/li>\n<li><strong>\uacc4\uce35\ud654\ub41c \uc2dc\uc2a4\ud15c:<\/strong> REST \uc544\ud0a4\ud14d\ucc98\ub294 \ud074\ub77c\uc774\uc5b8\ud2b8\uac00 \uc11c\ubc84\uc640 \uc9c1\uc811 \ud1b5\uc2e0\ud558\uc9c0 \uc54a\uace0, \uc911\uac04 \uc11c\ubc84\ub97c \ud1b5\ud574 \uc778\ud130\ud398\uc774\uc2a4\ub97c \uc81c\uacf5\ud560 \uc218 \uc788\ub3c4\ub85d \uc124\uacc4\ub418\uc5c8\uc2b5\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h3>2. REST API\uc758 \uc7a5\uc810<\/h3>\n<ul>\n<li><strong>\uc720\uc5f0\uc131:<\/strong> REST API\ub294 \ub2e4\uc591\ud55c \ud074\ub77c\uc774\uc5b8\ud2b8(\ubaa8\ubc14\uc77c \uc571, \uc6f9 \uc571 \ub4f1)\uc5d0\uc11c \uc720\uc5f0\ud558\uac8c \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<li><strong>\ud45c\uc900\ud654\ub41c \ud504\ub85c\ud1a0\ucf5c:<\/strong> HTTP \ud504\ub85c\ud1a0\ucf5c\uc744 \uc0ac\uc6a9\ud558\ubbc0\ub85c, \ub110\ub9ac \uc0ac\uc6a9\ub418\ub294 \uc6f9 \uae30\uc220\uacfc \ud1b5\ud569\uc774 \uc27d\uc2b5\ub2c8\ub2e4.<\/li>\n<li><strong>\ud655\uc7a5\uc131:<\/strong> REST API\ub97c \uc0ac\uc6a9\ud558\uba74 \uc2dc\uc2a4\ud15c\uc758 \ud655\uc7a5\uc774 \uc6a9\uc774\ud558\uba70, \uc0c8\ub85c\uc6b4 \uae30\ub2a5\uc744 \ucd94\uac00\ud560 \ub54c \uae30\uc874 \uc2dc\uc2a4\ud15c\uc5d0 \uc601\ud5a5\uc744 \uc8fc\uc9c0 \uc54a\ub3c4\ub85d \uc124\uacc4\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<li><strong>\ub290\uc2a8\ud55c \uacb0\ud569:<\/strong> \ud074\ub77c\uc774\uc5b8\ud2b8\uc640 \uc11c\ubc84\uc758 \ub290\uc2a8\ud55c \uacb0\ud569\uc740 \uc2dc\uc2a4\ud15c\uc758 \uc720\uc9c0\ubcf4\uc218\uc640 \ubcc0\uacbd \uc791\uc5c5\uc744 \uc218\uc6d4\ud558\uac8c \ud569\ub2c8\ub2e4.<\/li>\n<li><strong>\ub2e4\uc591\ud55c \ub370\uc774\ud130 \ud615\uc2dd:<\/strong> JSON, XML, HTML \ub4f1 \ub2e4\uc591\ud55c \ub370\uc774\ud130 \ud615\uc2dd\uc744 \uc9c0\uc6d0\ud558\uc5ec, \ud074\ub77c\uc774\uc5b8\ud2b8 \uc694\uad6c\uc0ac\ud56d\uc5d0 \ub9de\uac8c \ub370\uc774\ud130\ub97c \uc81c\uacf5\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h3>3. C#\uc5d0\uc11c REST API \uc0ac\uc6a9\ud558\uae30<\/h3>\n<p>C#\uc740 REST API\uc640\uc758 \ud1b5\ud569\uc5d0 \ub9e4\uc6b0 \uc801\ud569\ud55c \uc5b8\uc5b4\ub85c, .NET \ud504\ub808\uc784\uc6cc\ud06c\uc5d0\uc11c \uc9c0\uc6d0\ud558\ub294 HttpClient \ud074\ub798\uc2a4\ub97c \uc0ac\uc6a9\ud558\uc5ec REST API\ub97c \ud638\ucd9c\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ub2e4\uc74c\uc740 C#\uc744 \uc0ac\uc6a9\ud558\uc5ec REST API\uc5d0 GET \uc694\uccad\uc744 \ubcf4\ub0b4\uace0 \uc751\ub2f5\uc744 \ucc98\ub9ac\ud558\ub294 \uac04\ub2e8\ud55c \uc608\uc81c\uc785\ub2c8\ub2e4.<\/p>\n<pre><code class=\"language-csharp\">\n\/\/ \ud544\uc694\ud55c \ub124\uc784\uc2a4\ud398\uc774\uc2a4 \ucd94\uac00\nusing System;\nusing System.Net.Http;\nusing System.Threading.Tasks;\n\nclass Program\n{\n    private static readonly HttpClient client = new HttpClient();\n\n    static async Task Main()\n    {\n        \/\/ API \ud638\ucd9c\n        var response = await GetExternalData(\"https:\/\/api.example.com\/data\");\n        \n        \/\/ \uc751\ub2f5 \ucc98\ub9ac\n        if (response != null)\n        {\n            Console.WriteLine(response);\n        }\n    }\n\n    private static async Task<string> GetExternalData(string url)\n    {\n        try\n        {\n            \/\/ GET \uc694\uccad\n            var response = await client.GetStringAsync(url);\n            return response; \/\/ \uc751\ub2f5 \ub370\uc774\ud130\ub97c \ubc18\ud658\n        }\n        catch (HttpRequestException e)\n        {\n            Console.WriteLine($\"HTTP Request failed: {e.Message}\");\n            return null; \/\/ \uc624\ub958 \ubc1c\uc0dd \uc2dc null \ubc18\ud658\n        }\n    }\n}\n<\/string><\/code><\/pre>\n<h4>3.1 POST \uc694\uccad\uc744 \ubcf4\ub0b4\uae30<\/h4>\n<p>\ub2e4\uc74c\uc740 POST \uc694\uccad\uc744 \ud1b5\ud574 \ub370\uc774\ud130\ub97c \uc678\ubd80 \uc2dc\uc2a4\ud15c\uc5d0 \uc804\uc1a1\ud558\ub294 \uc608\uc81c\uc785\ub2c8\ub2e4.<\/p>\n<pre><code class=\"language-csharp\">\nprivate static async Task<string> PostData(string url, string jsonData)\n{\n    try\n    {\n        \/\/ \ucee8\ud150\uce20 \uc0dd\uc131\n        var content = new StringContent(jsonData, System.Text.Encoding.UTF8, \"application\/json\");\n\n        \/\/ POST \uc694\uccad\n        var response = await client.PostAsync(url, content);\n\n        \/\/ \uc751\ub2f5 \ucc98\ub9ac\n        response.EnsureSuccessStatusCode();\n        return await response.Content.ReadAsStringAsync();\n    }\n    catch (HttpRequestException e)\n    {\n        Console.WriteLine($\"HTTP Request failed: {e.Message}\");\n        return null;\n    }\n}\n<\/string><\/code><\/pre>\n<h3>4. \uc678\ubd80 \uc2dc\uc2a4\ud15c\uacfc\uc758 \uc5f0\ub3d9 \uc0ac\ub840<\/h3>\n<p>MES\uc640 \uc678\ubd80 \uc2dc\uc2a4\ud15c \uac04\uc758 \ud1b5\ud569\uc740 \ub2e4\uc591\ud55c \ubc29\uc2dd\uc73c\ub85c \uc774\ub8e8\uc5b4\uc9c8 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4, \uc0dd\uc0b0 \ub370\uc774\ud130, \uc7ac\uace0 \uc815\ubcf4, \uc7a5\ube44 \uc0c1\ud0dc \ub4f1\uc744 \uc678\ubd80 ERP(Enterprise Resource Planning) \uc2dc\uc2a4\ud15c\uc5d0 \uc804\ub2ec\ud558\uae30 \uc704\ud574 REST API\ub97c \uc0ac\uc6a9\ud558\uc5ec \ub370\uc774\ud130\ub97c \uc804\uc1a1\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ub2e4\uc74c\uc740 \uc774\ub97c \uc704\ud55c \uc804\ubc18\uc801\uc778 \ud750\ub984\uc744 \uc124\uba85\ud569\ub2c8\ub2e4:<\/p>\n<ul>\n<li><strong>\uc0dd\uc0b0 \ub370\uc774\ud130 \uc218\uc9d1:<\/strong> MES\ub294 \uc0dd\uc0b0 \ud604\uc7a5\uc5d0\uc11c \ubc1c\uc0dd\ud558\ub294 \ub370\uc774\ud130\ub97c \uc218\uc9d1\ud569\ub2c8\ub2e4. \uc774\ub97c \ub370\uc774\ud130\ubca0\uc774\uc2a4\uc5d0 \uc800\uc7a5\ud558\uac70\ub098 \ud544\uc694\uc2dc \uc678\ubd80 \uc2dc\uc2a4\ud15c\uc73c\ub85c \uc804\uc1a1\ud569\ub2c8\ub2e4.<\/li>\n<li><strong>\ub370\uc774\ud130 \uc804\uc1a1:<\/strong> \uc218\uc9d1\ub41c \ub370\uc774\ud130\ub97c REST API\ub97c \ud1b5\ud574 \uc678\ubd80 \uc2dc\uc2a4\ud15c\uc5d0 \uc804\uc1a1\ud569\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4, JSON \ud615\uc2dd\uc73c\ub85c \ub370\uc774\ud130\ub97c \ud3ec\ub9f7\ud558\uc5ec POST \uc694\uccad\uc744 \ubcf4\ub0bc \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<li><strong>\uc0c1\ud0dc \ud655\uc778:<\/strong> \uc678\ubd80 \uc2dc\uc2a4\ud15c\uc73c\ub85c\ubd80\ud130 \uc751\ub2f5\uc744 \uc218\uc2e0\ud558\uace0, \uc131\uacf5\uc801\uc73c\ub85c \ucc98\ub9ac\ub418\uc5c8\ub294\uc9c0\ub97c \ud655\uc778\ud569\ub2c8\ub2e4. \uc2e4\ud328\ud55c \uacbd\uc6b0 \uc7ac\uc2dc\ub3c4 \ub85c\uc9c1\uc744 \uad6c\ud604\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h4>4.1 \uc608\uc81c \uc2dc\ub098\ub9ac\uc624<\/h4>\n<p>\uc608\ub97c \ub4e4\uc5b4, \uc81c\uc870\uc5c5\uccb4\uc5d0\uc11c MES\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc0dd\uc0b0 \ub370\uc774\ud130\ub97c \uc218\uc9d1\ud558\uace0, \uc774\ub97c ERP \uc2dc\uc2a4\ud15c\uc73c\ub85c \uc804\uc1a1\ud558\uae30 \uc704\ud55c REST API\ub97c \uc124\uc815\ud588\ub2e4\uace0 \uac00\uc815\ud574\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc774 \uc2dc\uc2a4\ud15c\uc5d0\uc11c\ub294 \ub2e4\uc74c\uacfc \uac19\uc740 \uc808\ucc28\ub97c \uc218\ud589\ud569\ub2c8\ub2e4:<\/p>\n<ol>\n<li>\uc0dd\uc0b0 \uacf5\uc815\uc5d0\uc11c \ubc1c\uc0dd\ud558\ub294 \ub370\uc774\ud130(\uc608: \uc0dd\uc0b0\ub7c9, \ubd88\ub7c9\ub960 \ub4f1)\ub97c MES\uc5d0\uc11c \uc2e4\uc2dc\uac04\uc73c\ub85c \uc218\uc9d1\ud569\ub2c8\ub2e4.<\/li>\n<li>\uc218\uc9d1\ub41c \ub370\uc774\ud130\ub97c JSON \ud615\uc2dd\uc73c\ub85c \ubcc0\ud658\ud569\ub2c8\ub2e4.<\/li>\n<li>REST API\ub97c \ud1b5\ud574 ERP \uc2dc\uc2a4\ud15c\uc758 \uc5d4\ub4dc\ud3ec\uc778\ud2b8\uc5d0 POST \uc694\uccad\uc744 \ubcf4\ub0b4\uc5b4 \ub370\uc774\ud130\ub97c \uc804\uc1a1\ud569\ub2c8\ub2e4.<\/li>\n<li>ERP \uc2dc\uc2a4\ud15c\uc5d0\uc11c \ucc98\ub9ac \ud6c4 \uc131\uacf5 \uc751\ub2f5\uc744 \ubc1b\uc744 \uacbd\uc6b0 \uc131\uacf5\uc801\uc73c\ub85c \uc5f0\ub3d9\ub41c \uac83\uc73c\ub85c \uac04\uc8fc\ud558\uace0, \uc2e4\ud328 \uc751\ub2f5\uc744 \ubc1b\uc744 \uacbd\uc6b0 \uc7ac\ucc98\ub9ac\ud558\uac70\ub098 \uc608\uc678 \ucc98\ub9ac\ub97c \uc218\ud589\ud569\ub2c8\ub2e4.<\/li>\n<\/ol>\n<h3>5. \uacb0\ub860<\/h3>\n<p>REST API\ub294 C#\uc744 \uc0ac\uc6a9\ud55c \uc678\ubd80 \uc2dc\uc2a4\ud15c\uacfc\uc758 \ud1b5\ud569\uc744 \ud6a8\uacfc\uc801\uc73c\ub85c \uc9c0\uc6d0\ud558\ub294 \uac15\ub825\ud55c \ub3c4\uad6c\uc785\ub2c8\ub2e4. REST API\uc758 \uc720\uc5f0\uc131\uacfc \ud655\uc7a5\uc131 \ub355\ubd84\uc5d0 \ub2e4\uc591\ud55c \uc81c\uc870 \ud658\uacbd\uc5d0 \uc801\uc6a9\ud560 \uc218 \uc788\uc73c\uba70, \uae30\uc874 \uc2dc\uc2a4\ud15c\uacfc\uc758 \ud1b5\ud569\uc744 \ud1b5\ud574 \uc0dd\uc0b0\uc131\uc744 \ub192\uc774\uace0, \ub370\uc774\ud130\uc758 \ud750\ub984\uc744 \uc6d0\ud65c\ud558\uac8c \ud558\uc5ec \uc2a4\ub9c8\ud2b8 \ud329\ud1a0\ub9ac \uad6c\ud604\uc5d0 \uae30\uc5ec\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<p>\uc55e\uc73c\ub85c \uc81c\uc870\uc5c5\uccb4\ub294 REST API\ub97c \ud1b5\ud574 MES\uc640 \ub2e4\ub978 \uc2dc\uc2a4\ud15c \uac04\uc758 \ud1b5\ud569\uc744 \ucd94\uc9c4\ud558\uc5ec \ub354\uc6b1 \uc2a4\ub9c8\ud2b8\ud558\uace0 \ud6a8\uc728\uc801\uc778 \uc0dd\uc0b0 \ud658\uacbd\uc744 \uc870\uc131\ud574\uc57c \ud569\ub2c8\ub2e4.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>17. C#\uacfc REST API\ub97c \uc774\uc6a9\ud55c \uc678\ubd80 \uc2dc\uc2a4\ud15c\uacfc\uc758 \uc5f0\ub3d9, REST API\uc758 \uac1c\ub150 \ubc0f \uc7a5\uc810 \uc624\ub298\ub0a0\uc758 \uc81c\uc870\uc5c5 \ud658\uacbd\uc5d0\uc11c MES(Manufacturing Execution System)\uc640 \uc2a4\ub9c8\ud2b8 \ud329\ud1a0\ub9ac\uc758 \uad6c\ud604\uc740 \uc678\ubd80 \uc2dc\uc2a4\ud15c\uacfc\uc758 \ud1b5\ud569\uc774 \ud544\uc218\uc801\uc785\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 C# \uc5b8\uc5b4\ub97c \uc0ac\uc6a9\ud558\uc5ec REST API\ub97c \ud1b5\ud574 \uc678\ubd80 \uc2dc\uc2a4\ud15c\uacfc \uc5f0\ub3d9\ud558\ub294 \ubc29\ubc95\uc744 \ud0d0\uad6c\ud558\uace0, REST API\uc758 \uac1c\ub150\uacfc \uc7a5\uc810\uc5d0 \ub300\ud574 \uc0c1\uc138\ud788 \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4. 1. REST API\uc758 \uac1c\ub150 REST(Representational State Transfer) API\ub294 \uc6f9 &hellip; <a href=\"https:\/\/atmokpo.com\/w\/41714\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;17.C#\uacfc REST API\ub97c \uc774\uc6a9\ud55c \uc678\ubd80 \uc2dc\uc2a4\ud15c\uacfc\uc758 \uc5f0\ub3d9, REST API\uc758 \uac1c\ub150 \ubc0f \uc7a5\uc810&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[235],"tags":[],"class_list":["post-41714","post","type-post","status-publish","format-standard","hentry","category-mes"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>17.C#\uacfc REST API\ub97c \uc774\uc6a9\ud55c \uc678\ubd80 \uc2dc\uc2a4\ud15c\uacfc\uc758 \uc5f0\ub3d9, REST API\uc758 \uac1c\ub150 \ubc0f \uc7a5\uc810 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/atmokpo.com\/w\/41714\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"17.C#\uacfc REST API\ub97c \uc774\uc6a9\ud55c \uc678\ubd80 \uc2dc\uc2a4\ud15c\uacfc\uc758 \uc5f0\ub3d9, REST API\uc758 \uac1c\ub150 \ubc0f \uc7a5\uc810 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"17. C#\uacfc REST API\ub97c \uc774\uc6a9\ud55c \uc678\ubd80 \uc2dc\uc2a4\ud15c\uacfc\uc758 \uc5f0\ub3d9, REST API\uc758 \uac1c\ub150 \ubc0f \uc7a5\uc810 \uc624\ub298\ub0a0\uc758 \uc81c\uc870\uc5c5 \ud658\uacbd\uc5d0\uc11c MES(Manufacturing Execution System)\uc640 \uc2a4\ub9c8\ud2b8 \ud329\ud1a0\ub9ac\uc758 \uad6c\ud604\uc740 \uc678\ubd80 \uc2dc\uc2a4\ud15c\uacfc\uc758 \ud1b5\ud569\uc774 \ud544\uc218\uc801\uc785\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 C# \uc5b8\uc5b4\ub97c \uc0ac\uc6a9\ud558\uc5ec REST API\ub97c \ud1b5\ud574 \uc678\ubd80 \uc2dc\uc2a4\ud15c\uacfc \uc5f0\ub3d9\ud558\ub294 \ubc29\ubc95\uc744 \ud0d0\uad6c\ud558\uace0, REST API\uc758 \uac1c\ub150\uacfc \uc7a5\uc810\uc5d0 \ub300\ud574 \uc0c1\uc138\ud788 \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4. 1. REST API\uc758 \uac1c\ub150 REST(Representational State Transfer) API\ub294 \uc6f9 &hellip; \ub354 \ubcf4\uae30 &quot;17.C#\uacfc REST API\ub97c \uc774\uc6a9\ud55c \uc678\ubd80 \uc2dc\uc2a4\ud15c\uacfc\uc758 \uc5f0\ub3d9, REST API\uc758 \uac1c\ub150 \ubc0f \uc7a5\uc810&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/41714\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-08T05:01:08+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T06:35:53+00:00\" \/>\n<meta name=\"author\" content=\"root\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:site\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"root\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/41714\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/41714\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"17.C#\uacfc REST API\ub97c \uc774\uc6a9\ud55c \uc678\ubd80 \uc2dc\uc2a4\ud15c\uacfc\uc758 \uc5f0\ub3d9, REST API\uc758 \uac1c\ub150 \ubc0f \uc7a5\uc810\",\"datePublished\":\"2024-11-08T05:01:08+00:00\",\"dateModified\":\"2024-11-26T06:35:53+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/41714\/\"},\"wordCount\":110,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"MES\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/41714\/\",\"url\":\"https:\/\/atmokpo.com\/w\/41714\/\",\"name\":\"17.C#\uacfc REST API\ub97c \uc774\uc6a9\ud55c \uc678\ubd80 \uc2dc\uc2a4\ud15c\uacfc\uc758 \uc5f0\ub3d9, REST API\uc758 \uac1c\ub150 \ubc0f \uc7a5\uc810 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-11-08T05:01:08+00:00\",\"dateModified\":\"2024-11-26T06:35:53+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/41714\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/41714\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/41714\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"17.C#\uacfc REST API\ub97c \uc774\uc6a9\ud55c \uc678\ubd80 \uc2dc\uc2a4\ud15c\uacfc\uc758 \uc5f0\ub3d9, REST API\uc758 \uac1c\ub150 \ubc0f \uc7a5\uc810\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/atmokpo.com\/w\/#website\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/atmokpo.com\/w\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"contentUrl\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"width\":400,\"height\":400,\"caption\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\"},\"image\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/bebubo4\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\",\"name\":\"root\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"caption\":\"root\"},\"sameAs\":[\"http:\/\/atmokpo.com\/w\"],\"url\":\"https:\/\/atmokpo.com\/w\/author\/root\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"17.C#\uacfc REST API\ub97c \uc774\uc6a9\ud55c \uc678\ubd80 \uc2dc\uc2a4\ud15c\uacfc\uc758 \uc5f0\ub3d9, REST API\uc758 \uac1c\ub150 \ubc0f \uc7a5\uc810 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/atmokpo.com\/w\/41714\/","og_locale":"ko_KR","og_type":"article","og_title":"17.C#\uacfc REST API\ub97c \uc774\uc6a9\ud55c \uc678\ubd80 \uc2dc\uc2a4\ud15c\uacfc\uc758 \uc5f0\ub3d9, REST API\uc758 \uac1c\ub150 \ubc0f \uc7a5\uc810 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"17. C#\uacfc REST API\ub97c \uc774\uc6a9\ud55c \uc678\ubd80 \uc2dc\uc2a4\ud15c\uacfc\uc758 \uc5f0\ub3d9, REST API\uc758 \uac1c\ub150 \ubc0f \uc7a5\uc810 \uc624\ub298\ub0a0\uc758 \uc81c\uc870\uc5c5 \ud658\uacbd\uc5d0\uc11c MES(Manufacturing Execution System)\uc640 \uc2a4\ub9c8\ud2b8 \ud329\ud1a0\ub9ac\uc758 \uad6c\ud604\uc740 \uc678\ubd80 \uc2dc\uc2a4\ud15c\uacfc\uc758 \ud1b5\ud569\uc774 \ud544\uc218\uc801\uc785\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 C# \uc5b8\uc5b4\ub97c \uc0ac\uc6a9\ud558\uc5ec REST API\ub97c \ud1b5\ud574 \uc678\ubd80 \uc2dc\uc2a4\ud15c\uacfc \uc5f0\ub3d9\ud558\ub294 \ubc29\ubc95\uc744 \ud0d0\uad6c\ud558\uace0, REST API\uc758 \uac1c\ub150\uacfc \uc7a5\uc810\uc5d0 \ub300\ud574 \uc0c1\uc138\ud788 \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4. 1. REST API\uc758 \uac1c\ub150 REST(Representational State Transfer) API\ub294 \uc6f9 &hellip; \ub354 \ubcf4\uae30 \"17.C#\uacfc REST API\ub97c \uc774\uc6a9\ud55c \uc678\ubd80 \uc2dc\uc2a4\ud15c\uacfc\uc758 \uc5f0\ub3d9, REST API\uc758 \uac1c\ub150 \ubc0f \uc7a5\uc810\"","og_url":"https:\/\/atmokpo.com\/w\/41714\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-11-08T05:01:08+00:00","article_modified_time":"2024-11-26T06:35:53+00:00","author":"root","twitter_card":"summary_large_image","twitter_creator":"@bebubo4","twitter_site":"@bebubo4","twitter_misc":{"\uae00\uc4f4\uc774":"root","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"1\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/41714\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/41714\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"17.C#\uacfc REST API\ub97c \uc774\uc6a9\ud55c \uc678\ubd80 \uc2dc\uc2a4\ud15c\uacfc\uc758 \uc5f0\ub3d9, REST API\uc758 \uac1c\ub150 \ubc0f \uc7a5\uc810","datePublished":"2024-11-08T05:01:08+00:00","dateModified":"2024-11-26T06:35:53+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/41714\/"},"wordCount":110,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["MES"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/41714\/","url":"https:\/\/atmokpo.com\/w\/41714\/","name":"17.C#\uacfc REST API\ub97c \uc774\uc6a9\ud55c \uc678\ubd80 \uc2dc\uc2a4\ud15c\uacfc\uc758 \uc5f0\ub3d9, REST API\uc758 \uac1c\ub150 \ubc0f \uc7a5\uc810 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-11-08T05:01:08+00:00","dateModified":"2024-11-26T06:35:53+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/41714\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/41714\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/41714\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"17.C#\uacfc REST API\ub97c \uc774\uc6a9\ud55c \uc678\ubd80 \uc2dc\uc2a4\ud15c\uacfc\uc758 \uc5f0\ub3d9, REST API\uc758 \uac1c\ub150 \ubc0f \uc7a5\uc810"}]},{"@type":"WebSite","@id":"https:\/\/atmokpo.com\/w\/#website","url":"https:\/\/atmokpo.com\/w\/","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","description":"","publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/atmokpo.com\/w\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/atmokpo.com\/w\/#organization","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","url":"https:\/\/atmokpo.com\/w\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/","url":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","contentUrl":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","width":400,"height":400,"caption":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8"},"image":{"@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/bebubo4"]},{"@type":"Person","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7","name":"root","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","caption":"root"},"sameAs":["http:\/\/atmokpo.com\/w"],"url":"https:\/\/atmokpo.com\/w\/author\/root\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/41714","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/comments?post=41714"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/41714\/revisions"}],"predecessor-version":[{"id":41715,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/41714\/revisions\/41715"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=41714"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=41714"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=41714"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}