{"id":72371,"date":"2024-11-05T23:29:58","date_gmt":"2024-11-05T23:29:58","guid":{"rendered":"https:\/\/goodwriterz.com\/site\/?p=72371"},"modified":"2024-11-05T23:29:58","modified_gmt":"2024-11-05T23:29:58","slug":"%d8%aa%d8%b9%d9%84%d9%85-%d9%88%d8%a7%d8%ac%d9%87%d8%a9-%d8%a8%d8%b1%d9%85%d8%ac%d8%a9-%d8%aa%d8%b7%d8%a8%d9%8a%d9%82%d8%a7%d8%aa-rest-%d8%a7%d9%84%d8%ac%d8%af%d9%8a%d8%af%d8%a9-%d8%a8%d8%a7%d8%b3","status":"publish","type":"post","link":"https:\/\/goodwriterz.com\/site\/%d8%aa%d8%b9%d9%84%d9%85-%d9%88%d8%a7%d8%ac%d9%87%d8%a9-%d8%a8%d8%b1%d9%85%d8%ac%d8%a9-%d8%aa%d8%b7%d8%a8%d9%8a%d9%82%d8%a7%d8%aa-rest-%d8%a7%d9%84%d8%ac%d8%af%d9%8a%d8%af%d8%a9-%d8%a8%d8%a7%d8%b3\/","title":{"rendered":"\u062a\u0639\u0644\u0645 \u0648\u0627\u062c\u0647\u0629 \u0628\u0631\u0645\u062c\u0629 \u062a\u0637\u0628\u064a\u0642\u0627\u062a REST \u0627\u0644\u062c\u062f\u064a\u062f\u0629 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 PowerShell"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_68_1 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title \" >\u062c\u062f\u0648\u0644 \u0627\u0644\u0645\u062d\u062a\u0648\u064a\u0627\u062a<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 eztoc-toggle-hide-by-default' ><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/goodwriterz.com\/site\/%d8%aa%d8%b9%d9%84%d9%85-%d9%88%d8%a7%d8%ac%d9%87%d8%a9-%d8%a8%d8%b1%d9%85%d8%ac%d8%a9-%d8%aa%d8%b7%d8%a8%d9%8a%d9%82%d8%a7%d8%aa-rest-%d8%a7%d9%84%d8%ac%d8%af%d9%8a%d8%af%d8%a9-%d8%a8%d8%a7%d8%b3\/#%D8%B1%D9%88%D8%A7%D8%A8%D8%B7_%D8%B3%D8%B1%D9%8A%D8%B9%D8%A9\" title=\"\u0631\u0648\u0627\u0628\u0637 \u0633\u0631\u064a\u0639\u0629\">\u0631\u0648\u0627\u0628\u0637 \u0633\u0631\u064a\u0639\u0629<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/goodwriterz.com\/site\/%d8%aa%d8%b9%d9%84%d9%85-%d9%88%d8%a7%d8%ac%d9%87%d8%a9-%d8%a8%d8%b1%d9%85%d8%ac%d8%a9-%d8%aa%d8%b7%d8%a8%d9%8a%d9%82%d8%a7%d8%aa-rest-%d8%a7%d9%84%d8%ac%d8%af%d9%8a%d8%af%d8%a9-%d8%a8%d8%a7%d8%b3\/#%D9%85%D8%A7_%D9%87%D9%88_%D8%A7%D9%84%D8%B1%D8%A7%D8%AD%D8%A9%D8%9F\" title=\"\u0645\u0627 \u0647\u0648 \u0627\u0644\u0631\u0627\u062d\u0629\u061f\">\u0645\u0627 \u0647\u0648 \u0627\u0644\u0631\u0627\u062d\u0629\u061f<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/goodwriterz.com\/site\/%d8%aa%d8%b9%d9%84%d9%85-%d9%88%d8%a7%d8%ac%d9%87%d8%a9-%d8%a8%d8%b1%d9%85%d8%ac%d8%a9-%d8%aa%d8%b7%d8%a8%d9%8a%d9%82%d8%a7%d8%aa-rest-%d8%a7%d9%84%d8%ac%d8%af%d9%8a%d8%af%d8%a9-%d8%a8%d8%a7%d8%b3\/#%D9%82%D8%B1%D8%A7%D8%A1%D8%A9_%D8%A7%D9%84%D9%85%D8%B3%D8%AA%D9%86%D8%AF%D8%A7%D8%AA\" title=\"\u0642\u0631\u0627\u0621\u0629 \u0627\u0644\u0645\u0633\u062a\u0646\u062f\u0627\u062a\">\u0642\u0631\u0627\u0621\u0629 \u0627\u0644\u0645\u0633\u062a\u0646\u062f\u0627\u062a<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/goodwriterz.com\/site\/%d8%aa%d8%b9%d9%84%d9%85-%d9%88%d8%a7%d8%ac%d9%87%d8%a9-%d8%a8%d8%b1%d9%85%d8%ac%d8%a9-%d8%aa%d8%b7%d8%a8%d9%8a%d9%82%d8%a7%d8%aa-rest-%d8%a7%d9%84%d8%ac%d8%af%d9%8a%d8%af%d8%a9-%d8%a8%d8%a7%d8%b3\/#%D8%A7%D9%84%D8%AF%D8%AE%D9%88%D9%84_%D9%81%D9%8A_%D8%A7%D9%84%D8%AA%D9%81%D8%A7%D8%B5%D9%8A%D9%84\" title=\"\u0627\u0644\u062f\u062e\u0648\u0644 \u0641\u064a \u0627\u0644\u062a\u0641\u0627\u0635\u064a\u0644\">\u0627\u0644\u062f\u062e\u0648\u0644 \u0641\u064a \u0627\u0644\u062a\u0641\u0627\u0635\u064a\u0644<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/goodwriterz.com\/site\/%d8%aa%d8%b9%d9%84%d9%85-%d9%88%d8%a7%d8%ac%d9%87%d8%a9-%d8%a8%d8%b1%d9%85%d8%ac%d8%a9-%d8%aa%d8%b7%d8%a8%d9%8a%d9%82%d8%a7%d8%aa-rest-%d8%a7%d9%84%d8%ac%d8%af%d9%8a%d8%af%d8%a9-%d8%a8%d8%a7%d8%b3\/#%D8%A7%D8%AD%D8%B5%D9%84_%D8%B9%D9%84%D9%89_%D8%AA%D9%8A%D9%86%D8%BA_%D8%A8%D9%8A%D8%A7%D9%86%D8%A7%D8%AA%D9%83_%D8%A7%D9%84%D8%A3%D9%88%D9%84%D9%89\" title=\"\u0627\u062d\u0635\u0644 \u0639\u0644\u0649 (\u062a\u064a\u0646\u063a) \u0628\u064a\u0627\u0646\u0627\u062a\u0643 \u0627\u0644\u0623\u0648\u0644\u0649\">\u0627\u062d\u0635\u0644 \u0639\u0644\u0649 (\u062a\u064a\u0646\u063a) \u0628\u064a\u0627\u0646\u0627\u062a\u0643 \u0627\u0644\u0623\u0648\u0644\u0649<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/goodwriterz.com\/site\/%d8%aa%d8%b9%d9%84%d9%85-%d9%88%d8%a7%d8%ac%d9%87%d8%a9-%d8%a8%d8%b1%d9%85%d8%ac%d8%a9-%d8%aa%d8%b7%d8%a8%d9%8a%d9%82%d8%a7%d8%aa-rest-%d8%a7%d9%84%d8%ac%d8%af%d9%8a%d8%af%d8%a9-%d8%a8%d8%a7%d8%b3\/#%D8%A5%D9%86%D8%B4%D8%A7%D8%A1_%D9%83%D8%A7%D8%A6%D9%86_%D8%A8%D8%A7%D8%B3%D8%AA%D8%AE%D8%AF%D8%A7%D9%85_%D8%B7%D8%B1%D9%8A%D9%82%D8%A9_POST\" title=\"\u0625\u0646\u0634\u0627\u0621 \u0643\u0627\u0626\u0646 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0637\u0631\u064a\u0642\u0629 POST\">\u0625\u0646\u0634\u0627\u0621 \u0643\u0627\u0626\u0646 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0637\u0631\u064a\u0642\u0629 POST<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/goodwriterz.com\/site\/%d8%aa%d8%b9%d9%84%d9%85-%d9%88%d8%a7%d8%ac%d9%87%d8%a9-%d8%a8%d8%b1%d9%85%d8%ac%d8%a9-%d8%aa%d8%b7%d8%a8%d9%8a%d9%82%d8%a7%d8%aa-rest-%d8%a7%d9%84%d8%ac%d8%af%d9%8a%d8%af%d8%a9-%d8%a8%d8%a7%d8%b3\/#%D8%A8%D8%A7%D8%B3%D8%AA%D8%AE%D8%AF%D8%A7%D9%85_%D8%A7%D9%84%D8%AD%D8%B0%D9%81\" title=\"\u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0627\u0644\u062d\u0630\u0641\">\u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0627\u0644\u062d\u0630\u0641<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/goodwriterz.com\/site\/%d8%aa%d8%b9%d9%84%d9%85-%d9%88%d8%a7%d8%ac%d9%87%d8%a9-%d8%a8%d8%b1%d9%85%d8%ac%d8%a9-%d8%aa%d8%b7%d8%a8%d9%8a%d9%82%d8%a7%d8%aa-rest-%d8%a7%d9%84%d8%ac%d8%af%d9%8a%d8%af%d8%a9-%d8%a8%d8%a7%d8%b3\/#%D8%A8%D8%A7%D8%B3%D8%AA%D8%AE%D8%AF%D8%A7%D9%85_%D9%88%D8%B6%D8%B9\" title=\"\u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0648\u0636\u0639\">\u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0648\u0636\u0639<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/goodwriterz.com\/site\/%d8%aa%d8%b9%d9%84%d9%85-%d9%88%d8%a7%d8%ac%d9%87%d8%a9-%d8%a8%d8%b1%d9%85%d8%ac%d8%a9-%d8%aa%d8%b7%d8%a8%d9%8a%d9%82%d8%a7%d8%aa-rest-%d8%a7%d9%84%d8%ac%d8%af%d9%8a%d8%af%d8%a9-%d8%a8%d8%a7%d8%b3\/#%D8%A5%D9%86%D8%B4%D8%A7%D8%A1_%D8%A7%D9%84%D9%88%D8%B8%D8%A7%D8%A6%D9%81\" title=\"\u0625\u0646\u0634\u0627\u0621 \u0627\u0644\u0648\u0638\u0627\u0626\u0641\">\u0625\u0646\u0634\u0627\u0621 \u0627\u0644\u0648\u0638\u0627\u0626\u0641<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/goodwriterz.com\/site\/%d8%aa%d8%b9%d9%84%d9%85-%d9%88%d8%a7%d8%ac%d9%87%d8%a9-%d8%a8%d8%b1%d9%85%d8%ac%d8%a9-%d8%aa%d8%b7%d8%a8%d9%8a%d9%82%d8%a7%d8%aa-rest-%d8%a7%d9%84%d8%ac%d8%af%d9%8a%d8%af%d8%a9-%d8%a8%d8%a7%d8%b3\/#%D9%85%D9%84%D8%AE%D8%B5\" title=\"\u0645\u0644\u062e\u0635\">\u0645\u0644\u062e\u0635<\/a><\/li><\/ul><\/nav><\/div>\n<div>\n<div class=\"w-table-content\">\n<h3 class=\"title icon i-flash\"><span class=\"ez-toc-section\" id=\"%D8%B1%D9%88%D8%A7%D8%A8%D8%B7_%D8%B3%D8%B1%D9%8A%D8%B9%D8%A9\"><\/span>\u0631\u0648\u0627\u0628\u0637 \u0633\u0631\u064a\u0639\u0629<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<div class=\"table-content\">\n<div class=\"w-table-content-list\">\n<ul class=\"table-content-list\">\n<li class=\"table-content-element icon\">\n<div class=\"table-content-link\"><a rel=\"nofollow noopener\" target=\"_blank\" href=\"#get-ting-your-first-data\">\u0627\u062d\u0635\u0644 \u0639\u0644\u0649 (\u062a\u064a\u0646\u063a) \u0628\u064a\u0627\u0646\u0627\u062a\u0643 \u0627\u0644\u0623\u0648\u0644\u0649<\/a> <\/div>\n<\/li>\n<\/ul>\n<ul class=\"table-content-list\">\n<li class=\"table-content-element icon\">\n<div class=\"table-content-link\"><a rel=\"nofollow noopener\" target=\"_blank\" href=\"#creating-an-object-with-the-post-method\">\u0625\u0646\u0634\u0627\u0621 \u0643\u0627\u0626\u0646 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0637\u0631\u064a\u0642\u0629 POST<\/a> <\/div>\n<\/li>\n<\/ul><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<p>\u064a\u0639\u062f \u0627\u0633\u062a\u062e\u062f\u0627\u0645 REST APIs \u0644\u062a\u0648\u0633\u064a\u0639 \u0627\u0644\u0628\u0631\u0627\u0645\u062c \u0627\u0644\u0646\u0635\u064a\u0629 \u0627\u0644\u062e\u0627\u0635\u0629 \u0628\u0643 \u0645\u064a\u0632\u0629 \u0645\u0641\u064a\u062f\u0629 \u0644\u0644\u062a\u0646\u0641\u064a\u0630. \u064a\u0645\u0643\u0646\u0643 \u0627\u0644\u0648\u0635\u0648\u0644 \u0625\u0644\u0649 \u0648\u0638\u0627\u0626\u0641 \u062c\u062f\u064a\u062f\u0629\u060c \u0648\u062a\u0648\u0633\u064a\u0639 \u0625\u0645\u0643\u0627\u0646\u064a\u0627\u062a \u0625\u0646\u0634\u0627\u0621 \u0646\u0635\u0648\u0635 \u0628\u0631\u0645\u062c\u064a\u0629 \u062c\u062f\u064a\u062f\u0629 \u0623\u0643\u062b\u0631 \u062a\u0642\u062f\u0645\u064b\u0627.<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":0,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":0,\"nbrPlacementsScanned\":0,\"ruleCount\":200,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":182} --><br \/>\n<!-- Repeatable debug data: {\"isEarlyInjection\":true,\"currentRuleCount\":200,\"actualCount\":182,\"hasActualCountMetThreshold\":true,\"countRemainingForInjection\":18,\"nextBlockCount\":139,\"hasCountRemainingForInjectionMetThreshold\":true,\"nextCount\":321} --><\/p>\n<p><!-- Repeatable debug data: {\"injection\":\"before\",\"adPosition\":0,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":0,\"nbrPlacementsScanned\":0,\"ruleCount\":200,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":true,\"actualCount\":200} --><!-- Zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"after\",\"adPosition\":1,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":1,\"nbrPlacementsScanned\":0,\"ruleCount\":200,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":true,\"actualCount\":0} --><br \/>\n<!-- No winning ad found for zone: below first paragraph! --><br \/>\n<!-- No winning ad found for zone: mid intro! --><\/p>\n<p>\u0644\u0643\u0646 \u062a\u062c\u0631\u0628\u0629 \u0627\u0644\u0643\u062b\u064a\u0631\u064a\u0646 \u0639\u0646\u062f \u0627\u0644\u0628\u062f\u0621 \u0641\u064a \u0627\u0633\u062a\u062e\u062f\u0627\u0645 REST APIs \u0641\u064a \u0627\u0644\u0628\u0631\u0627\u0645\u062c \u0627\u0644\u0646\u0635\u064a\u0629 \u0647\u064a \u0623\u0646\u0647\u0627 \u062a\u0628\u062f\u0648 \u062e\u0631\u0642\u0627\u0621 \u0648\u063a\u064a\u0631 \u0637\u0628\u064a\u0639\u064a\u0629 \u062a\u0645\u0627\u0645\u064b\u0627. \u0641\u064a \u0647\u0630\u0647 \u0627\u0644\u062a\u062f\u0648\u064a\u0646\u0629 \u0646\u0646\u0627\u0642\u0634:<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":1,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":1,\"nbrPlacementsScanned\":1,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":121} --><\/p>\n<ul>\n<li>  \u0645\u0627 \u0647\u064a REST API\u061f <\/li>\n<li>  \u0643\u064a\u0641\u064a\u0629 \u0642\u0631\u0627\u0621\u0629 \u0627\u0644\u0634\u0643\u0644 \u0627\u0644\u0623\u0643\u062b\u0631 \u0634\u064a\u0648\u0639\u0627 \u0645\u0646 \u0627\u0644\u0648\u062b\u0627\u0626\u0642 <\/li>\n<li>  \u0643\u064a\u0641\u064a\u0629 \u0627\u0633\u062a\u062e\u062f\u0627\u0645 REST API \u0645\u0639 PowerShell <\/li>\n<li>  \u0628\u0639\u0636 \u0627\u0644\u0646\u0635\u0627\u0626\u062d \u0648\u0627\u0644\u062d\u064a\u0644 \u062d\u0648\u0644 \u0643\u064a\u0641\u064a\u0629 \u062c\u0639\u0644\u0647\u0627 \u062a\u062c\u0631\u0628\u0629 \u0623\u0633\u0647\u0644 \u0648\u0623\u0641\u0636\u0644 <\/li>\n<\/ul>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":1,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":1,\"nbrPlacementsScanned\":1,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":304} --><br \/>\n<!-- No winning ad found for zone: native in content! --><\/p>\n<h2 id=\"what-is-rest\"><span class=\"ez-toc-section\" id=\"%D9%85%D8%A7_%D9%87%D9%88_%D8%A7%D9%84%D8%B1%D8%A7%D8%AD%D8%A9%D8%9F\"><\/span>  \u0645\u0627 \u0647\u0648 \u0627\u0644\u0631\u0627\u062d\u0629\u061f <span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>REST\u060c \u0623\u0648 RESTful APIs\u060c \u0647\u064a \u0648\u0627\u062c\u0647\u0629 \u0628\u0631\u0645\u062c\u0629 \u062a\u0637\u0628\u064a\u0642\u0627\u062a \u062a\u0633\u062a\u062e\u062f\u0645 \u0637\u0644\u0628\u0627\u062a HTTP \u0644\u062c\u0644\u0628 \u0627\u0644\u0628\u064a\u0627\u0646\u0627\u062a \u0623\u0648 \u0625\u0636\u0627\u0641\u062a\u0647\u0627 \u0623\u0648 \u062d\u0630\u0641\u0647\u0627 \u0623\u0648 \u0645\u0639\u0627\u0644\u062c\u062a\u0647\u0627 \u0641\u064a \u062e\u062f\u0645\u0627\u062a \u0645\u062e\u062a\u0644\u0641\u0629.<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":1,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":1,\"nbrPlacementsScanned\":1,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":425} --><\/p>\n<p>\u0645\u0627 \u0646\u0631\u064a\u062f \u0623\u0646 \u0646\u0641\u0639\u0644\u0647 \u0628\u0627\u0644\u0628\u064a\u0627\u0646\u0627\u062a \u064a\u062a\u0645 \u062a\u062d\u062f\u064a\u062f\u0647 \u0639\u0627\u062f\u0629\u064b \u0645\u0646 \u062e\u0644\u0627\u0644 \u0645\u0627\u0630\u0627 <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/restfulapi.net\/http-methods\/\">\u0637\u0631\u064a\u0642\u0629 HTTP<\/a> \u0627\u0644\u062a\u064a \u062a\u0633\u062a\u062e\u062f\u0645\u0647\u0627. \u0641\u064a\u0645\u0627 \u064a\u0644\u064a \u0642\u0627\u0626\u0645\u0629 \u0645\u062e\u062a\u0635\u0631\u0629 \u0628\u0637\u0631\u0642 HTTP \u0648\u0645\u0627 \u064a\u062a\u0645 \u0627\u0633\u062a\u062e\u062f\u0627\u0645\u0647\u0627 \u0644\u0644\u0642\u064a\u0627\u0645 \u0628\u0647 \u0641\u064a REST API:<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":1,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":1,\"nbrPlacementsScanned\":1,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":596} --><\/p>\n<ul>\n<li>  \u0627\u062d\u0635\u0644 \u0639\u0644\u0649 &#8212; \u0627\u0642\u0631\u0623 <\/li>\n<li>  \u0645\u0634\u0627\u0631\u0643\u0629&#8212;\u0625\u0646\u0634\u0627\u0621 <\/li>\n<li>  \u0627\u0644\u062a\u0635\u062d\u064a\u062d &#8212; \u0627\u0644\u062a\u062d\u062f\u064a\u062b\/\u0627\u0644\u062a\u0639\u062f\u064a\u0644 \u0627\u0644\u062c\u0632\u0626\u064a <\/li>\n<li>  \u0648\u0636\u0639 &#8212; \u062a\u062d\u062f\u064a\u062b\/\u0627\u0633\u062a\u0628\u062f\u0627\u0644 <\/li>\n<li>  \u062d\u0630\u0641&#8212;\u0625\u0632\u0627\u0644\u0629 <\/li>\n<\/ul>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":1,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":1,\"nbrPlacementsScanned\":1,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":694} --><\/p>\n<blockquote>\n<p>\u0639\u0627\u062f\u0629\u064b \u0645\u0627 \u064a\u062a\u0645 \u0625\u0631\u062c\u0627\u0639 \u0627\u0644\u0628\u064a\u0627\u0646\u0627\u062a \u0627\u0644\u062a\u064a \u064a\u062a\u0645 \u0625\u0631\u062c\u0627\u0639\u0647\u0627 \u0628\u0648\u0627\u0633\u0637\u0629 REST API \u0628\u062a\u0646\u0633\u064a\u0642 JSON.<\/p>\n<\/blockquote>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":1,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":1,\"nbrPlacementsScanned\":1,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":771} --><\/p>\n<p>\u0627\u0644\u0622\u0646\u060c \u0644\u0646\u0628\u062f\u0623 \u0628\u0627\u0633\u062a\u062f\u0639\u0627\u0621 \u0648\u0627\u062c\u0647\u0629 \u0628\u0631\u0645\u062c\u0629 \u0627\u0644\u062a\u0637\u0628\u064a\u0642\u0627\u062a (API) \u0627\u0644\u0623\u0648\u0644!<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":1,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":1,\"nbrPlacementsScanned\":1,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":818} --><\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":1,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":1,\"nbrPlacementsScanned\":1,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":818} --><br \/>\n<!-- Repeatable debug data: {\"isEarlyInjection\":true,\"currentRuleCount\":900,\"actualCount\":818,\"hasActualCountMetThreshold\":true,\"countRemainingForInjection\":82,\"nextBlockCount\":204,\"hasCountRemainingForInjectionMetThreshold\":true,\"nextCount\":1022} --><\/p>\n<p><!-- Repeatable debug data: {\"injection\":\"before\",\"adPosition\":1,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":1,\"nbrPlacementsScanned\":1,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":true,\"actualCount\":900} --><!-- Zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"after\",\"adPosition\":2,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":2,\"nbrPlacementsScanned\":1,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":true,\"actualCount\":0} --><\/p>\n<h2 id=\"reading-the-docs\"><span class=\"ez-toc-section\" id=\"%D9%82%D8%B1%D8%A7%D8%A1%D8%A9_%D8%A7%D9%84%D9%85%D8%B3%D8%AA%D9%86%D8%AF%D8%A7%D8%AA\"><\/span>  \u0642\u0631\u0627\u0621\u0629 \u0627\u0644\u0645\u0633\u062a\u0646\u062f\u0627\u062a <span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u064a\u0639\u062f \u062a\u0639\u0644\u0645 \u0642\u0631\u0627\u0621\u0629 \u0648\u062a\u0641\u0633\u064a\u0631 \u0627\u0644\u0648\u062b\u0627\u0626\u0642 \u0627\u0644\u062e\u0627\u0635\u0629 \u0628\u0648\u0627\u062c\u0647\u0627\u062a \u0628\u0631\u0645\u062c\u0629 \u062a\u0637\u0628\u064a\u0642\u0627\u062a REST \u0627\u0644\u0645\u062e\u062a\u0644\u0641\u0629 \u0623\u0645\u0631\u064b\u0627 \u0636\u0631\u0648\u0631\u064a\u064b\u0627 \u0644\u0627\u0633\u062a\u062e\u062f\u0627\u0645\u0647\u0627. \u0644\u062d\u0633\u0646 \u0627\u0644\u062d\u0638\u060c \u0625\u0630\u0627 \u0643\u0646\u062a \u062a\u0639\u0631\u0641 \u0643\u064a\u0641\u064a\u0629 \u0642\u0631\u0627\u0621\u0629 \u0646\u0645\u0637 \u0648\u0627\u062d\u062f \u0645\u0646 \u0627\u0644\u062a\u0648\u062b\u064a\u0642\u060c \u0641\u064a\u0645\u0643\u0646\u0643 \u0623\u0646 \u062a\u062a\u0639\u0644\u0645 \u0628\u0633\u0631\u0639\u0629 \u0643\u064a\u0641\u064a\u0629 \u0642\u0631\u0627\u0621\u0629 \u0627\u0644\u0623\u0646\u0645\u0627\u0637 \u0627\u0644\u0623\u062e\u0631\u0649.<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":2,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":2,\"nbrPlacementsScanned\":2,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":122} --><\/p>\n<p>\u0646\u062d\u0646 \u0646\u0633\u062a\u062e\u062f\u0645 <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/petstore.swagger.io\/\">petstore.swagger.io<\/a> \u0641\u064a \u0647\u0630\u0647 \u0627\u0644\u0645\u0642\u0627\u0644\u0629\u060c \u0644\u0623\u0646\u0647 \u064a\u0633\u062a\u062e\u062f\u0645 \u0634\u0639\u0628\u064a\u0629 <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/swagger.io\/\">\u0627\u062e\u062a\u064a\u0627\u0644<\/a> \u0625\u0637\u0627\u0631 \u0639\u0645\u0644 \u0634\u0627\u0626\u0639 \u062c\u062f\u064b\u0627 \u0641\u064a \u0627\u0644\u0639\u0627\u0644\u0645 \u0627\u0644\u062d\u0642\u064a\u0642\u064a.<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":2,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":2,\"nbrPlacementsScanned\":2,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":265} --><\/p>\n<div class=\"body-img landscape \">\n<div class=\"responsive-img image-expandable img-article-item\">\n<figure><img data-recalc-dims=\"1\" decoding=\"async\" width=\"1200\" height=\"367\" loading=\"lazy\" alt=\"\u0623\u0647\u0645 \u0627\u0644\u0645\u0639\u0644\u0648\u0645\u0627\u062a \u062d\u0648\u0644 \u0646\u0642\u0627\u0637 \u0646\u0647\u0627\u064a\u0629 REST API.\" data-img-url=\"https:\/\/goodwriterz.com\/site\/wp-content\/uploads\/2024\/11\/\u062a\u0639\u0644\u0645-\u0648\u0627\u062c\u0647\u0629-\u0628\u0631\u0645\u062c\u0629-\u062a\u0637\u0628\u064a\u0642\u0627\u062a-REST-\u0627\u0644\u062c\u062f\u064a\u062f\u0629-\u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645-PowerShell.png\" src=\"https:\/\/i0.wp.com\/goodwriterz.com\/site\/wp-content\/uploads\/2024\/11\/%D8%AA%D8%B9%D9%84%D9%85-%D9%88%D8%A7%D8%AC%D9%87%D8%A9-%D8%A8%D8%B1%D9%85%D8%AC%D8%A9-%D8%AA%D8%B7%D8%A8%D9%8A%D9%82%D8%A7%D8%AA-REST-%D8%A7%D9%84%D8%AC%D8%AF%D9%8A%D8%AF%D8%A9-%D8%A8%D8%A7%D8%B3%D8%AA%D8%AE%D8%AF%D8%A7%D9%85-PowerShell.png?resize=1200%2C367&#038;ssl=1\" style=\"height:auto;max-width:100%\" title=\"\">  <\/figure>\n<\/p><\/div>\n<\/p><\/div>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":2,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":2,\"nbrPlacementsScanned\":2,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":505} --><\/p>\n<p>\u062a\u0648\u0636\u062d \u0627\u0644\u0635\u0648\u0631\u0629 \u0627\u0644\u0633\u0627\u0628\u0642\u0629 \u0623\u0647\u0645 \u0627\u0644\u0645\u0639\u0644\u0648\u0645\u0627\u062a \u062d\u0648\u0644 \u0646\u0642\u0627\u0637 \u0646\u0647\u0627\u064a\u0629 REST API:<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":2,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":2,\"nbrPlacementsScanned\":2,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":592} --><\/p>\n<ul>\n<li>  \u0637\u0631\u064a\u0642\u0629 HTTP &#8212; \u0627\u0644\u062d\u0635\u0648\u0644\/\u0627\u0644\u0646\u0634\u0631\/\u0627\u0644\u062d\u0630\u0641\u060c \u0648\u0645\u0627 \u0625\u0644\u0649 \u0630\u0644\u0643. <\/li>\n<li>  \u0639\u0646\u0648\u0627\u0646 URL \u0627\u0644\u0646\u0633\u0628\u064a \u0644\u0646\u0642\u0637\u0629 \u0646\u0647\u0627\u064a\u0629 REST API (\u0639\u0627\u062f\u0629\u064b \u0645\u0627 \u064a\u062a\u0645 \u0639\u0631\u0636 \u0639\u0646\u0648\u0627\u0646 URL \u0627\u0644\u0623\u0633\u0627\u0633\u064a \u0641\u064a \u0623\u0639\u0644\u0649 \u0635\u0641\u062d\u0629 \u0627\u0644\u0648\u062b\u0627\u0626\u0642) <\/li>\n<li>  \u0648\u0635\u0641 \u0645\u0648\u062c\u0632 <\/li>\n<\/ul>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":2,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":2,\"nbrPlacementsScanned\":2,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":759} --><\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":2,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":2,\"nbrPlacementsScanned\":2,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":759} --><\/p>\n<h2 id=\"getting-into-the-details\"><span class=\"ez-toc-section\" id=\"%D8%A7%D9%84%D8%AF%D8%AE%D9%88%D9%84_%D9%81%D9%8A_%D8%A7%D9%84%D8%AA%D9%81%D8%A7%D8%B5%D9%8A%D9%84\"><\/span>  \u0627\u0644\u062f\u062e\u0648\u0644 \u0641\u064a \u0627\u0644\u062a\u0641\u0627\u0635\u064a\u0644 <span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u0627\u0644\u0635\u0641\u062d\u0629 \u0627\u0644\u0623\u0648\u0644\u0649 \u0645\u0646 \u0627\u0644\u0648\u062b\u0627\u0626\u0642 \u0631\u0627\u0626\u0639\u0629\u060c \u0648\u064a\u0645\u0643\u0646\u0643 \u0639\u0627\u062f\u0629\u064b \u0625\u062c\u0631\u0627\u0621 \u0645\u0639\u0638\u0645 \u0627\u0644\u0627\u0633\u062a\u062f\u0639\u0627\u0621\u0627\u062a \u0627\u0644\u062a\u064a \u062a\u062a\u0637\u0644\u0628 \u0637\u0631\u064a\u0642\u0629 HTTP GET \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u062a\u0644\u0643 \u0627\u0644\u0645\u0639\u0644\u0648\u0645\u0627\u062a. \u0644\u0643\u0646 \u0623\u0633\u0627\u0644\u064a\u0628 \u0645\u062b\u0644 POST \u0648SET \u062a\u062a\u0637\u0644\u0628 \u0639\u0627\u062f\u0629\u064b \u0627\u0644\u0646\u0642\u0631 \u0641\u0648\u0642 \u0627\u0644\u0635\u0641 \u0648\u062a\u0648\u0633\u064a\u0639\u0647 \u0644\u0644\u062d\u0635\u0648\u0644 \u0639\u0644\u0649 \u0645\u0632\u064a\u062f \u0645\u0646 \u0627\u0644\u0645\u0639\u0644\u0648\u0645\u0627\u062a.<\/p>\n<p><!-- Repeatable debug data: {\"injection\":\"before\",\"adPosition\":2,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":2,\"nbrPlacementsScanned\":2,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":false,\"actualCount\":1004} --><!-- Zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"after\",\"adPosition\":3,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":3,\"nbrPlacementsScanned\":2,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":false,\"actualCount\":0} --><br \/>\n<!-- Repeatable debug data: {\"isEarlyInjection\":false,\"currentRuleCount\":900,\"actualCount\":0,\"hasActualCountMetThreshold\":null,\"countRemainingForInjection\":null,\"nextBlockCount\":null,\"hasCountRemainingForInjectionMetThreshold\":null} --><\/p>\n<p>\u0625\u0630\u0627 \u0642\u0645\u062a \u0628\u0627\u0644\u0646\u0642\u0631 \u0641\u0648\u0642 \u0623\u062d\u062f \u0627\u0644\u0635\u0641\u0648\u0641\u060c \u0641\u0633\u064a\u062a\u0645 \u062a\u0642\u062f\u064a\u0645 \u0645\u0639\u0644\u0648\u0645\u0627\u062a \u062a\u0628\u062f\u0648 \u0643\u0645\u0627 \u064a\u0644\u064a:<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":3,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":3,\"nbrPlacementsScanned\":3,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":88} --><\/p>\n<div class=\"body-img landscape \">\n<div class=\"responsive-img image-expandable img-article-item\">\n<figure><img data-recalc-dims=\"1\" decoding=\"async\" width=\"766\" height=\"692\" loading=\"lazy\" alt=\"\u0646\u0642\u0637\u0629 \u0646\u0647\u0627\u064a\u0629 REST \u0627\u0644\u062a\u064a \u064a\u0645\u0643\u0646\u0647\u0627 \u0625\u0646\u0634\u0627\u0621 \u0643\u0627\u0626\u0646 \u062d\u064a\u0648\u0627\u0646 \u0623\u0644\u064a\u0641 \u062c\u062f\u064a\u062f.\" data-img-url=\"https:\/\/goodwriterz.com\/site\/wp-content\/uploads\/2024\/11\/1730849395_703_\u062a\u0639\u0644\u0645-\u0648\u0627\u062c\u0647\u0629-\u0628\u0631\u0645\u062c\u0629-\u062a\u0637\u0628\u064a\u0642\u0627\u062a-REST-\u0627\u0644\u062c\u062f\u064a\u062f\u0629-\u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645-PowerShell.png\" src=\"https:\/\/i0.wp.com\/goodwriterz.com\/site\/wp-content\/uploads\/2024\/11\/1730849395_703_%D8%AA%D8%B9%D9%84%D9%85-%D9%88%D8%A7%D8%AC%D9%87%D8%A9-%D8%A8%D8%B1%D9%85%D8%AC%D8%A9-%D8%AA%D8%B7%D8%A8%D9%8A%D9%82%D8%A7%D8%AA-REST-%D8%A7%D9%84%D8%AC%D8%AF%D9%8A%D8%AF%D8%A9-%D8%A8%D8%A7%D8%B3%D8%AA%D8%AE%D8%AF%D8%A7%D9%85-PowerShell.png?resize=766%2C692&#038;ssl=1\" style=\"height:auto;max-width:100%\" title=\"\">  <\/figure>\n<\/p><\/div>\n<\/p><\/div>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":3,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":3,\"nbrPlacementsScanned\":3,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":328} --><\/p>\n<p>\u0644\u0642\u062f \u0642\u062f\u0645\u0646\u0627 \u200b\u200b\u0647\u0646\u0627 \u0646\u0642\u0637\u0629 \u0646\u0647\u0627\u064a\u0629 REST \u0627\u0644\u062a\u064a \u064a\u0645\u0643\u0646\u0647\u0627 \u0625\u0646\u0634\u0627\u0621 \u0643\u0627\u0626\u0646 \u062d\u064a\u0648\u0627\u0646 \u0623\u0644\u064a\u0641 \u062c\u062f\u064a\u062f. \u0648\u0647\u0648 \u064a\u062d\u062f\u062f \u0627\u0644\u0634\u0643\u0644 \u0627\u0644\u0630\u064a \u064a\u062c\u0628 \u0623\u0646 \u064a\u0628\u062f\u0648 \u0639\u0644\u064a\u0647 \u0645\u0644\u0641 JSON \u0627\u0644\u0630\u064a \u062a\u0645 \u062a\u0648\u0641\u064a\u0631\u0647 \u0641\u064a \u0646\u0635 POST \u0648\u0646\u0648\u0639 \u0627\u0644\u0645\u062d\u062a\u0648\u0649 \u0627\u0644\u0630\u064a \u064a\u0642\u0628\u0644\u0647. \u062a\u062d\u062f\u062f \u0646\u0642\u0627\u0637 \u0646\u0647\u0627\u064a\u0629 REST \u0627\u0644\u0623\u062e\u0631\u0649 \u0645\u0627 \u0647\u064a \u0627\u0644\u0645\u0639\u0644\u0645\u0627\u062a \u0627\u0644\u0645\u062e\u062a\u0644\u0641\u0629\u060c \u0648\u0646\u0648\u0639 \u0627\u0644\u0628\u064a\u0627\u0646\u0627\u062a \u0627\u0644\u062a\u064a \u064a\u0646\u0628\u063a\u064a \u0623\u0646 \u062a\u0643\u0648\u0646\u060c \u0648\u0645\u0627 \u0625\u0644\u0649 \u0630\u0644\u0643.<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":3,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":3,\"nbrPlacementsScanned\":3,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":619} --><\/p>\n<p>\u0647\u0630\u0647 \u0647\u064a \u0623\u0633\u0627\u0633\u064a\u0627\u062a \u0642\u0631\u0627\u0621\u0629 \u0627\u0644\u0648\u062b\u0627\u0626\u0642. \u0627\u0644\u0622\u0646 \u0623\u0635\u0628\u062d \u0627\u0644\u0623\u0645\u0631 \u0648\u0627\u0636\u062d\u064b\u0627\u060c \u0641\u0642\u062f \u062d\u0627\u0646 \u0627\u0644\u0648\u0642\u062a \u0644\u0628\u062f\u0621 \u0627\u0633\u062a\u062e\u062f\u0627\u0645 REST APIs \u0645\u0639 PowerShell.<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":3,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":3,\"nbrPlacementsScanned\":3,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":737} --><\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":3,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":3,\"nbrPlacementsScanned\":3,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":737} --><\/p>\n<h2 id=\"get-ting-your-first-data\"><span class=\"ez-toc-section\" id=\"%D8%A7%D8%AD%D8%B5%D9%84_%D8%B9%D9%84%D9%89_%D8%AA%D9%8A%D9%86%D8%BA_%D8%A8%D9%8A%D8%A7%D9%86%D8%A7%D8%AA%D9%83_%D8%A7%D9%84%D8%A3%D9%88%D9%84%D9%89\"><\/span>  \u0627\u062d\u0635\u0644 \u0639\u0644\u0649 (\u062a\u064a\u0646\u063a) \u0628\u064a\u0627\u0646\u0627\u062a\u0643 \u0627\u0644\u0623\u0648\u0644\u0649 <span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u0639\u0627\u062f\u0629\u064b \u0645\u0627 \u064a\u0643\u0648\u0646 \u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0648\u0627\u062c\u0647\u0627\u062a \u0628\u0631\u0645\u062c\u0629 \u062a\u0637\u0628\u064a\u0642\u0627\u062a REST \u0645\u0639 PowerShell \u0623\u0645\u0631\u064b\u0627 \u0628\u0633\u064a\u0637\u064b\u0627 \u0644\u0644\u063a\u0627\u064a\u0629\u060c \u0648\u0623\u0646\u062a \u062a\u0633\u062a\u062e\u062f\u0645 \u0623\u0648\u0627\u0645\u0631 cmdlets \u0627\u0644\u0645\u0636\u0645\u0646\u0629\u060c \u0644\u0630\u0644\u0643 \u0644\u0627 \u062d\u0627\u062c\u0629 \u0625\u0644\u0649 \u0648\u062d\u062f\u0627\u062a \u0625\u0636\u0627\u0641\u064a\u0629. \u0633\u062a\u0642\u0648\u0645 \u0628\u062c\u0644\u0628 \u0627\u0644\u0628\u064a\u0627\u0646\u0627\u062a \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0637\u0631\u064a\u0642\u0629 GET \u0639\u0644\u0649 \u0646\u0642\u0637\u0629 \u0627\u0644\u0646\u0647\u0627\u064a\u0629 \/pet\/{petId}.<\/p>\n<p><!-- Repeatable debug data: {\"injection\":\"before\",\"adPosition\":3,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":3,\"nbrPlacementsScanned\":3,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":false,\"actualCount\":946} --><!-- Zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"after\",\"adPosition\":4,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":4,\"nbrPlacementsScanned\":3,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":false,\"actualCount\":0} --><br \/>\n<!-- Repeatable debug data: {\"isEarlyInjection\":false,\"currentRuleCount\":900,\"actualCount\":0,\"hasActualCountMetThreshold\":null,\"countRemainingForInjection\":null,\"nextBlockCount\":null,\"hasCountRemainingForInjectionMetThreshold\":null} --><\/p>\n<p>\u0625\u0630\u0627 \u0642\u0645\u062a \u0628\u062a\u0648\u0633\u064a\u0639 \u0646\u0642\u0637\u0629 \u0627\u0644\u0646\u0647\u0627\u064a\u0629 \/pet\/{petId} \u0641\u064a \u0627\u0644\u0648\u062b\u0627\u0626\u0642\u060c \u0641\u064a\u0645\u0643\u0646\u0643 \u0623\u0646 \u062a\u0631\u0649 \u0623\u0646 {petId} \u0647\u0648 \u0641\u064a \u0627\u0644\u0648\u0627\u0642\u0639 \u0645\u0639\u0644\u0645\u0629 \u062a\u0623\u062e\u0630 \u0639\u062f\u062f\u064b\u0627 \u0635\u062d\u064a\u062d\u064b\u0627.<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":4,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":4,\"nbrPlacementsScanned\":4,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":133} --><\/p>\n<div class=\"body-img landscape \">\n<div class=\"responsive-img image-expandable img-article-item\">\n<figure><img data-recalc-dims=\"1\" decoding=\"async\" width=\"513\" height=\"177\" loading=\"lazy\" alt=\"{petId} \u0647\u0648 \u0641\u064a \u0627\u0644\u0648\u0627\u0642\u0639 \u0645\u0639\u0644\u0645\u0629 \u062a\u0623\u062e\u0630 \u0639\u062f\u062f\u064b\u0627 \u0635\u062d\u064a\u062d\u064b\u0627.\" data-img-url=\"https:\/\/goodwriterz.com\/site\/wp-content\/uploads\/2024\/11\/1730849395_67_\u062a\u0639\u0644\u0645-\u0648\u0627\u062c\u0647\u0629-\u0628\u0631\u0645\u062c\u0629-\u062a\u0637\u0628\u064a\u0642\u0627\u062a-REST-\u0627\u0644\u062c\u062f\u064a\u062f\u0629-\u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645-PowerShell.png\" src=\"https:\/\/i0.wp.com\/goodwriterz.com\/site\/wp-content\/uploads\/2024\/11\/1730849395_67_%D8%AA%D8%B9%D9%84%D9%85-%D9%88%D8%A7%D8%AC%D9%87%D8%A9-%D8%A8%D8%B1%D9%85%D8%AC%D8%A9-%D8%AA%D8%B7%D8%A8%D9%8A%D9%82%D8%A7%D8%AA-REST-%D8%A7%D9%84%D8%AC%D8%AF%D9%8A%D8%AF%D8%A9-%D8%A8%D8%A7%D8%B3%D8%AA%D8%AE%D8%AF%D8%A7%D9%85-PowerShell.png?resize=513%2C177&#038;ssl=1\" style=\"height:auto;max-width:100%\" title=\"\">  <\/figure>\n<\/p><\/div>\n<\/p><\/div>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":4,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":4,\"nbrPlacementsScanned\":4,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":373} --><\/p>\n<p>\u0648\u0647\u0630\u0627 \u064a\u062c\u0639\u0644 \u0639\u0646\u0648\u0627\u0646 URL \u0644\u062c\u0644\u0628 \u0643\u0627\u0626\u0646 \u0627\u0644\u062d\u064a\u0648\u0627\u0646\u0627\u062a \u0627\u0644\u0623\u0644\u064a\u0641\u0629 \u0628\u0627\u0644\u0645\u0639\u0631\u0641 1: <a rel=\"nofollow noopener\" target=\"_blank\" href=\"\"><\/a><\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":4,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":4,\"nbrPlacementsScanned\":4,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":467} --><\/p>\n<p>\u0639\u0627\u062f\u0629\u064b \u0645\u0627 \u062a\u0639\u0631\u0636 \u0648\u062b\u0627\u0626\u0642 SWAGGER REST API \u0639\u0646\u0648\u0627\u0646 URL \u0627\u0644\u0623\u0633\u0627\u0633\u064a \u0641\u064a \u0623\u0639\u0644\u0649 \u0627\u0644\u0635\u0641\u062d\u0629.<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":4,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":4,\"nbrPlacementsScanned\":4,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":551} --><\/p>\n<p>\u0627\u0644\u0622\u0646\u060c \u0644\u0646\u0628\u062f\u0623 \u0645\u0639 PowerShell. \u0627\u0641\u062a\u062d \u0646\u0627\u0641\u0630\u0629 Terminal \u0648\u0623\u062f\u062e\u0644:<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":4,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":4,\"nbrPlacementsScanned\":4,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":627} --><\/p>\n<pre><code class=\"hljs xml\">PS51 &gt; Invoke-RestMethod -Method GET -ContentType <span class=\"hljs-string\">\"application\/json\"<\/span> -Uri <span class=\"hljs-string\">\"\"<\/span><p>id : 1<br \/>category : @{id=0; name=string}<br \/>name : doggie<br \/>photoUrls : {string}<br \/>tags : {@{id=0; name=string}}<br \/>status : available<\/p><\/code> <\/pre>\n<p>\u064a\u0642\u0648\u0645 Invoc-RestMethod \u0628\u062a\u062d\u0648\u064a\u0644 JSON \u0627\u0644\u0630\u064a \u062a\u0645 \u0625\u0631\u062c\u0627\u0639\u0647 \u062a\u0644\u0642\u0627\u0626\u064a\u064b\u0627 \u0625\u0644\u0649 \u0643\u0627\u0626\u0646\u060c \u062d\u064a\u062b \u064a\u062a\u0645 \u0625\u0631\u062c\u0627\u0639 \u0646\u0648\u0639 \u0627\u0644\u0645\u062d\u062a\u0648\u0649 &#8220;application\/json&#8221; \u0641\u064a \u0627\u0644\u0627\u0633\u062a\u062c\u0627\u0628\u0629 \u0645\u0646 \u0627\u0644\u062e\u0627\u062f\u0645.<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":4,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":4,\"nbrPlacementsScanned\":4,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":783} --><\/p>\n<blockquote>\n<p>\n<code>Error 404 - Not found<\/code><\/p>\n<p> \u064a\u0639\u0646\u064a \u0639\u0627\u062f\u0629\u064b \u0623\u0646\u0647 \u0644\u0627 \u064a\u0645\u0643\u0646 \u0627\u0644\u0639\u062b\u0648\u0631 \u0639\u0644\u0649 \u0627\u0644\u0643\u0627\u0626\u0646\u060c \u0648\u0644\u064a\u0633 \u0623\u0646 \u0639\u0646\u0648\u0627\u0646 URL \u0645\u0643\u062a\u0648\u0628 \u0628\u0634\u0643\u0644 \u062e\u0627\u0637\u0626.<\/p>\n<\/blockquote>\n<p><!-- Repeatable debug data: {\"injection\":\"before\",\"adPosition\":4,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":4,\"nbrPlacementsScanned\":4,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":false,\"actualCount\":905} --><!-- Zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"after\",\"adPosition\":5,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":5,\"nbrPlacementsScanned\":4,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":false,\"actualCount\":0} --><br \/>\n<!-- Repeatable debug data: {\"isEarlyInjection\":false,\"currentRuleCount\":900,\"actualCount\":0,\"hasActualCountMetThreshold\":null,\"countRemainingForInjection\":null,\"nextBlockCount\":null,\"hasCountRemainingForInjectionMetThreshold\":null} --><\/p>\n<p>\u0644\u0642\u062f \u0642\u0645\u062a \u0627\u0644\u0622\u0646 \u0628\u0646\u062c\u0627\u062d \u0628\u0625\u062c\u0631\u0627\u0621 \u0623\u0648\u0644 \u0627\u0633\u062a\u062f\u0639\u0627\u0621 \u0644\u0640 REST API. \u0644\u0643\u0646 \u0627\u0644\u0642\u062f\u0631\u0629 \u0639\u0644\u0649 \u0627\u0644\u062d\u0635\u0648\u0644 \u0639\u0644\u0649 \u0627\u0644\u0628\u064a\u0627\u0646\u0627\u062a \u0641\u0642\u0637 \u0647\u064a \u0623\u0645\u0631 \u0645\u0642\u064a\u062f \u0644\u0644\u063a\u0627\u064a\u0629\u060c \u0644\u0630\u0644\u0643 \u062f\u0639\u0648\u0646\u0627 \u0646\u0646\u0634\u0626 \u0634\u064a\u0626\u064b\u0627 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0637\u0631\u064a\u0642\u0629 POST.<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":5,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":5,\"nbrPlacementsScanned\":5,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":156} --><\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":5,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":5,\"nbrPlacementsScanned\":5,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":156} --><\/p>\n<h2 id=\"creating-an-object-with-the-post-method\"><span class=\"ez-toc-section\" id=\"%D8%A5%D9%86%D8%B4%D8%A7%D8%A1_%D9%83%D8%A7%D8%A6%D9%86_%D8%A8%D8%A7%D8%B3%D8%AA%D8%AE%D8%AF%D8%A7%D9%85_%D8%B7%D8%B1%D9%8A%D9%82%D8%A9_POST\"><\/span>  \u0625\u0646\u0634\u0627\u0621 \u0643\u0627\u0626\u0646 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0637\u0631\u064a\u0642\u0629 POST <span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u064a\u062a\u0645 \u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0637\u0631\u064a\u0642\u0629 POST \u0628\u0634\u0643\u0644 \u0634\u0627\u0626\u0639 \u0644\u0644\u0625\u0646\u0634\u0627\u0621\u060c \u0645\u062b\u0644 \u0625\u0646\u0634\u0627\u0621 \u0645\u0633\u062a\u062e\u062f\u0645\u064a\u0646 \u0623\u0648 \u0625\u062f\u062e\u0627\u0644\u0627\u062a\u060c \u0648\u0645\u0627 \u0625\u0644\u0649 \u0630\u0644\u0643. \u064a\u0631\u0633\u0644 \u0637\u0644\u0628 POST \u0646\u0635\u064b\u0627 \u064a\u062d\u062a\u0648\u064a \u0639\u0644\u0649 \u0645\u0639\u0644\u0648\u0645\u0627\u062a \u0625\u0644\u0649 \u0646\u0642\u0637\u0629 \u0646\u0647\u0627\u064a\u0629 REST\u060c \u0639\u0627\u062f\u0629\u064b \u0628\u062a\u0646\u0633\u064a\u0642 JSON\u060c \u0648\u0644\u0643\u0646 \u064a\u0645\u0643\u0646 \u0623\u064a\u0636\u064b\u0627 \u0623\u0646 \u064a\u0643\u0648\u0646 \u0643\u0646\u0645\u0648\u0630\u062c \u0645\u0634\u0641\u0631 \u0628\u0639\u0646\u0648\u0627\u0646 URL.<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":5,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":5,\"nbrPlacementsScanned\":5,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":383} --><\/p>\n<p>\u0633\u0648\u0641 \u062a\u062a\u0639\u0644\u0645 \u0643\u064a\u0641\u064a\u0629 \u0625\u0646\u0634\u0627\u0621 \u0643\u0627\u0626\u0646 JSON \u064a\u0645\u0643\u0646\u0643 \u0646\u0634\u0631\u0647 \u0625\u0644\u0649 \u0646\u0642\u0637\u0629 \u0627\u0644\u0646\u0647\u0627\u064a\u0629\/pet.<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":5,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":5,\"nbrPlacementsScanned\":5,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":472} --><\/p>\n<p>\u064a\u0645\u0643\u0646\u0643 \u0623\u0646 \u062a\u0631\u0649 \u0643\u064a\u0641 \u0645\u0646 \u0627\u0644\u0645\u0641\u062a\u0631\u0636 \u0623\u0646 \u064a\u0628\u062f\u0648 JSON \u0625\u0630\u0627 \u0642\u0645\u062a \u0628\u062a\u0648\u0633\u064a\u0639 \u0635\u0641 POST \/pet \u0641\u064a \u0627\u0644\u0648\u062b\u0627\u0626\u0642.<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":5,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":5,\"nbrPlacementsScanned\":5,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":570} --><\/p>\n<div class=\"body-img landscape \">\n<div class=\"responsive-img image-expandable img-article-item\">\n<figure><img data-recalc-dims=\"1\" decoding=\"async\" width=\"1200\" height=\"306\" loading=\"lazy\" alt=\"  \u0643\u064a\u0641 \u064a\u062c\u0628 \u0623\u0646 \u064a\u0628\u062f\u0648 JSON \u0625\u0630\u0627 \u0642\u0645\u062a \u0628\u062a\u0648\u0633\u064a\u0639 \u0635\u0641 POST \/pet \u0641\u064a \u0627\u0644\u0648\u062b\u0627\u0626\u0642.\" data-img-url=\"https:\/\/goodwriterz.com\/site\/wp-content\/uploads\/2024\/11\/1730849396_953_\u062a\u0639\u0644\u0645-\u0648\u0627\u062c\u0647\u0629-\u0628\u0631\u0645\u062c\u0629-\u062a\u0637\u0628\u064a\u0642\u0627\u062a-REST-\u0627\u0644\u062c\u062f\u064a\u062f\u0629-\u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645-PowerShell.png\" src=\"https:\/\/i0.wp.com\/goodwriterz.com\/site\/wp-content\/uploads\/2024\/11\/1730849396_953_%D8%AA%D8%B9%D9%84%D9%85-%D9%88%D8%A7%D8%AC%D9%87%D8%A9-%D8%A8%D8%B1%D9%85%D8%AC%D8%A9-%D8%AA%D8%B7%D8%A8%D9%8A%D9%82%D8%A7%D8%AA-REST-%D8%A7%D9%84%D8%AC%D8%AF%D9%8A%D8%AF%D8%A9-%D8%A8%D8%A7%D8%B3%D8%AA%D8%AE%D8%AF%D8%A7%D9%85-PowerShell.png?resize=1200%2C306&#038;ssl=1\" style=\"height:auto;max-width:100%\" title=\"\">  <\/figure>\n<\/p><\/div>\n<\/p><\/div>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":5,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":5,\"nbrPlacementsScanned\":5,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":810} --><\/p>\n<p>\u0644\u0646\u0628\u062f\u0623 \u0628\u0625\u0646\u0634\u0627\u0621 \u062c\u062f\u0648\u0644 \u062a\u062c\u0632\u0626\u0629 \u064a\u0645\u0643\u0646\u0646\u0627 \u062a\u062d\u0648\u064a\u0644\u0647 \u0644\u0627\u062d\u0642\u064b\u0627 \u0625\u0644\u0649 \u0643\u0627\u0626\u0646 JSON. \u064a\u062c\u0628 \u062a\u062c\u0646\u0628 Raw JSON \u0641\u064a \u0627\u0644\u0628\u0631\u0627\u0645\u062c \u0627\u0644\u0646\u0635\u064a\u0629 PowerShell \u0644\u0623\u0646\u0647\u0627 \u062a\u062d\u062f \u0645\u0646 \u0642\u062f\u0631\u0627\u062a\u0647\u0627.<\/p>\n<p><!-- Repeatable debug data: {\"injection\":\"before\",\"adPosition\":5,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":5,\"nbrPlacementsScanned\":5,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":false,\"actualCount\":982} --><!-- Zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"after\",\"adPosition\":6,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":6,\"nbrPlacementsScanned\":5,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":false,\"actualCount\":0} --><br \/>\n<!-- Repeatable debug data: {\"isEarlyInjection\":false,\"currentRuleCount\":900,\"actualCount\":0,\"hasActualCountMetThreshold\":null,\"countRemainingForInjection\":null,\"nextBlockCount\":null,\"hasCountRemainingForInjectionMetThreshold\":null} --><\/p>\n<pre><code class=\"hljs xml\">$Body = @{<br \/>\u00a0\u00a0\u00a0\u00a0id = 19<br \/>\u00a0\u00a0\u00a0\u00a0category = @{<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0id = 45<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0name = <span class=\"hljs-string\">\"Whatever\"<\/span><br \/>\u00a0\u00a0\u00a0\u00a0}<br \/>\u00a0\u00a0\u00a0\u00a0name = <span class=\"hljs-string\">\"Dawg\"<\/span><br \/>\u00a0\u00a0\u00a0\u00a0photoUrls = @(<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<span class=\"hljs-string\">\"string\"<\/span><br \/>\u00a0\u00a0\u00a0\u00a0)<br \/>\u00a0\u00a0\u00a0\u00a0tags = @(<br \/><span class=\"hljs-meta\"> @{<\/span><br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0id = 0<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0name = <span class=\"hljs-string\">\"string\"<\/span><br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0}<br \/>\u00a0\u00a0\u00a0\u00a0)<br \/>\u00a0\u00a0\u00a0\u00a0status = <span class=\"hljs-string\">\"available\"<\/span><br \/>}<\/code> <\/pre>\n<blockquote>\n<p>\u0625\u0630\u0627 \u0643\u0646\u062a \u062a\u0648\u0627\u062c\u0647 \u0635\u0639\u0648\u0628\u0629 \u0641\u064a \u0625\u0646\u0634\u0627\u0621 \u062c\u062f\u0648\u0644 \u062a\u062c\u0632\u0626\u0629 \u064a\u062a\u062d\u0648\u0644 \u0625\u0644\u0649 JSON \u0627\u0644\u0630\u064a \u062a\u0631\u064a\u062f\u0647\u060c \u0641\u0642\u0645 \u0628\u062a\u062b\u0628\u064a\u062a<br \/>\n<a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/nightroman\/PsdKit\">\u0628\u0633\u062f\u0643\u064a\u062a<\/a><br \/>\n \u0627\u0644\u0648\u062d\u062f\u0629 \u0627\u0644\u0646\u0645\u0637\u064a\u0629 \u0648\u0627\u0633\u062a\u062e\u062f\u0645 \u0627\u0644\u0623\u0645\u0631:<br \/>\n<code>$JsonString | ConvertTo-Psd<\/code>\n<\/p>\n<\/blockquote>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":6,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":6,\"nbrPlacementsScanned\":6,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":238} --><\/p>\n<p>\u0644\u062f\u064a\u0643 \u0627\u0644\u0622\u0646 \u062c\u062f\u0648\u0644 \u062a\u062c\u0632\u0626\u0629 \u064a\u0645\u0643\u0646\u0643 \u062a\u062d\u0648\u064a\u0644\u0647 \u0625\u0644\u0649 \u0633\u0644\u0633\u0644\u0629 JSON \u0648POST \u0625\u0644\u0649 \u0646\u0642\u0637\u0629 \u0627\u0644\u0646\u0647\u0627\u064a\u0629\/pet:<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":6,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":6,\"nbrPlacementsScanned\":6,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":331} --><\/p>\n<pre><code class=\"hljs xml\">$JsonBody = $Body | ConvertTo-Json<br \/>$Uri = <span class=\"hljs-string\">\"https:\/\/petstore.swagger.io\/v2\/pet\"<\/span><br \/>Invoke-RestMethod -ContentType <span class=\"hljs-string\">\"application\/json\"<\/span> -Uri $Uri -Method Post -Body $JsonBody<p>id : 19<br \/>category : @{id=45; name=Whatever}<br \/>name : Dawg<br \/>photoUrls : {string}<br \/>tags : {@{id=0; name=string}}<br \/>status : available<\/p><\/code> <\/pre>\n<p>\u0639\u0646\u062f \u0625\u0646\u0634\u0627\u0621 \u0627\u0644\u0643\u0627\u0626\u0646\u060c \u0639\u0627\u062f\u0629\u064b \u0645\u0627 \u062a\u062a\u0644\u0642\u0649 \u0627\u0644\u0643\u0627\u0626\u0646 \u0627\u0644\u0630\u064a \u062a\u0645 \u0625\u0646\u0634\u0627\u0624\u0647 \u0644\u0644\u062a\u0623\u0643\u064a\u062f.<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":6,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":6,\"nbrPlacementsScanned\":6,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":424} --><\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":6,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":6,\"nbrPlacementsScanned\":6,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":424} --><\/p>\n<h2 id=\"using-delete\"><span class=\"ez-toc-section\" id=\"%D8%A8%D8%A7%D8%B3%D8%AA%D8%AE%D8%AF%D8%A7%D9%85_%D8%A7%D9%84%D8%AD%D8%B0%D9%81\"><\/span>  \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0627\u0644\u062d\u0630\u0641 <span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u062a\u0642\u0648\u0645 \u0637\u0631\u064a\u0642\u0629 DELETE \u0628\u062d\u0630\u0641 \u0627\u0644\u0628\u064a\u0627\u0646\u0627\u062a\u060c \u0648\u0637\u0631\u064a\u0642\u0629 \u0627\u0644\u0642\u064a\u0627\u0645 \u0628\u0630\u0644\u0643 \u062a\u0634\u0628\u0647 \u0625\u0644\u0649 \u062d\u062f \u0643\u0628\u064a\u0631 \u0637\u0631\u064a\u0642\u0629 GET \u0643\u0645\u0627 \u0647\u0648 \u0645\u0648\u0636\u062d \u0647\u0646\u0627:<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":6,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":6,\"nbrPlacementsScanned\":6,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":539} --><\/p>\n<pre><code class=\"hljs sql\">PS51 &gt; Invoke-RestMethod -Method DELETE -ContentType <span class=\"hljs-string\">\"application\/json\"<\/span> -Uri <span class=\"hljs-string\">\"\"<\/span><\/code> <\/pre>\n<p>\u0641\u0642\u0637 \u0643\u0646 \u0639\u0644\u0649 \u0639\u0644\u0645 \u062d\u062a\u0649 \u0644\u0627 \u062a\u062d\u0630\u0641 \u0623\u064a \u0634\u064a\u0621 \u0642\u062f \u062a\u062d\u062a\u0627\u062c\u0647.<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":6,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":6,\"nbrPlacementsScanned\":6,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":602} --><\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":6,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":6,\"nbrPlacementsScanned\":6,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":602} --><\/p>\n<h2 id=\"using-put\"><span class=\"ez-toc-section\" id=\"%D8%A8%D8%A7%D8%B3%D8%AA%D8%AE%D8%AF%D8%A7%D9%85_%D9%88%D8%B6%D8%B9\"><\/span>  \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0648\u0636\u0639 <span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u062a\u0642\u0648\u0645 \u0637\u0631\u064a\u0642\u0629 PUT \u0628\u062a\u062d\u062f\u064a\u062b \u0627\u0644\u0628\u064a\u0627\u0646\u0627\u062a \u0627\u0644\u0645\u0648\u062c\u0648\u062f\u0629 \u0628\u0627\u0644\u0641\u0639\u0644. \u064a\u062a\u0645 \u0630\u0644\u0643 \u0628\u0634\u0643\u0644 \u0645\u0634\u0627\u0628\u0647 \u0644\u0637\u0631\u064a\u0642\u0629 POST\u060c \u0639\u0646 \u0637\u0631\u064a\u0642 \u0625\u0631\u0633\u0627\u0644 \u0643\u0627\u0626\u0646 JSON \u0643\u0627\u0645\u0644 \u0623\u0648 \u062c\u0632\u0626\u064a:<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":6,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":6,\"nbrPlacementsScanned\":6,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":735} --><\/p>\n<pre><code class=\"hljs xml\">PS51&gt; $Body = (PSCustomObject)@{<br \/>\u00a0\u00a0\u00a0\u00a0id = 19<br \/>\u00a0\u00a0\u00a0\u00a0name = \"Dawg <span class=\"hljs-keyword\">with<\/span> a <span class=\"hljs-keyword\">new<\/span>\u00a0<span class=\"hljs-keyword\">name<\/span><span class=\"hljs-string\">\"<\/span><br \/>}<p>PS51&gt; $JsonBody = $Body | ConvertTo-Json<br \/>PS51&gt; $Uri = <span class=\"hljs-string\">\"https:\/\/petstore.swagger.io\/v2\/pet\"<\/span><br \/>PS51&gt; Invoke-RestMethod -ContentType <span class=\"hljs-string\">\"application\/json\"<\/span> -Uri $Uri -Method PUT -Body $JsonBody<\/p><p>id name photoUrls tags<br \/>19 Dawg <span class=\"hljs-keyword\">with<\/span> a <span class=\"hljs-keyword\">new<\/span>\u00a0<span class=\"hljs-keyword\">name<\/span> {} {}<\/p><\/code> <\/pre>\n<p>\u0639\u0627\u062f\u0629\u064b \u0645\u0627 \u062a\u0642\u0648\u0645 REST API \u0628\u0625\u0631\u062c\u0627\u0639 \u0643\u0627\u0626\u0646 JSON \u0645\u0639 \u0627\u0644\u0628\u064a\u0627\u0646\u0627\u062a \u0627\u0644\u0645\u0633\u062a\u062e\u062f\u0645\u0629 \u0648\/\u0623\u0648 \u0627\u0644\u0645\u062d\u062f\u062b\u0629. \u064a\u0645\u0643\u0646\u0643 \u0623\u0646 \u062a\u0631\u0649 \u0623\u0646\u0647 \u062a\u0645 \u062a\u062d\u062f\u064a\u062b \u0627\u0644\u0643\u0627\u0626\u0646 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0637\u0631\u064a\u0642\u0629 GET \u062a\u062c\u0627\u0647\u0647:<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":6,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":6,\"nbrPlacementsScanned\":6,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":889} --><\/p>\n<pre><code class=\"hljs xml\">PS <span class=\"hljs-number\">51<\/span>&gt; Invoke-RestMethod -ContentType <span class=\"hljs-string\">\"application\/json\"<\/span> -Uri <span class=\"hljs-string\">\"9\"<\/span><p>id : 19<br \/>category : @{id=45; name=Whatever}<br \/>name : Dawg <span class=\"hljs-keyword\">with<\/span> a <span class=\"hljs-keyword\">new<\/span>\u00a0<span class=\"hljs-keyword\">name<\/span><br \/>photoUrls : {string}<br \/>tags : {@{id=0; name=string}}<br \/>status : available<\/p><\/code> <\/pre>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":6,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":6,\"nbrPlacementsScanned\":6,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":889} --><br \/>\n<!-- Repeatable debug data: {\"isEarlyInjection\":true,\"currentRuleCount\":900,\"actualCount\":889,\"hasActualCountMetThreshold\":true,\"countRemainingForInjection\":11,\"nextBlockCount\":218,\"hasCountRemainingForInjectionMetThreshold\":true,\"nextCount\":1107} --><\/p>\n<p><!-- Repeatable debug data: {\"injection\":\"before\",\"adPosition\":6,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":6,\"nbrPlacementsScanned\":6,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":true,\"actualCount\":900} --><!-- Zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"after\",\"adPosition\":7,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":7,\"nbrPlacementsScanned\":6,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":true,\"actualCount\":0} --><\/p>\n<h2 id=\"creating-functions\"><span class=\"ez-toc-section\" id=\"%D8%A5%D9%86%D8%B4%D8%A7%D8%A1_%D8%A7%D9%84%D9%88%D8%B8%D8%A7%D8%A6%D9%81\"><\/span>  \u0625\u0646\u0634\u0627\u0621 \u0627\u0644\u0648\u0638\u0627\u0626\u0641 <span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u0642\u062f \u062a\u0635\u0628\u062d \u0643\u062a\u0627\u0628\u0629 \u0647\u0630\u0647 \u0627\u0644\u0623\u0648\u0627\u0645\u0631 \u0643\u0645\u0627 \u0647\u064a \u0645\u0645\u0644\u0629 \u0644\u0644\u063a\u0627\u064a\u0629 \u0648\u063a\u064a\u0631 \u0642\u0627\u0628\u0644\u0629 \u0644\u0644\u062a\u0637\u0648\u064a\u0631 \u062d\u0642\u064b\u0627. \u0625\u0630\u0627 \u0643\u0646\u0627 \u0646\u0633\u062a\u062f\u0639\u064a \u0646\u0642\u0637\u0629 \u0646\u0647\u0627\u064a\u0629 \u0623\u0643\u062b\u0631 \u0645\u0646 \u0645\u0631\u0629\u060c \u0641\u0642\u0645 \u0628\u0625\u0646\u0634\u0627\u0621 \u062f\u0627\u0644\u0629 \u0644\u0647\u0627. \u0627\u0644\u0623\u0645\u0631 \u0628\u0633\u064a\u0637 \u062c\u062f\u064b\u0627 \u0648\u0644\u0627 \u064a\u0644\u0632\u0645\u0643 \u0633\u0648\u0649 \u0628\u0636\u0639\u0629 \u0623\u0633\u0637\u0631:<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":7,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":7,\"nbrPlacementsScanned\":7,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":207} --><\/p>\n<pre><code class=\"hljs xml\"><span class=\"hljs-function\"><span class=\"hljs-keyword\">Function<\/span>\u00a0<span class=\"hljs-title\">Get<\/span>-<span class=\"hljs-title\">PetstorePet<\/span>\u00a0<\/span>{<br \/>\u00a0\u00a0\u00a0\u00a0<span class=\"hljs-selector-attr\">(cmdletbinding())<\/span><br \/>\u00a0\u00a0\u00a0\u00a0param(<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<span class=\"hljs-selector-attr\">(Parameter(Mandatory,ValueFromPipeline))<\/span><br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0(int)$Id<br \/>\u00a0\u00a0\u00a0\u00a0)<br \/>\u00a0\u00a0\u00a0\u00a0<span class=\"hljs-selector-tag\">Begin<\/span>{}<br \/>\u00a0\u00a0\u00a0\u00a0Process{<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0$RestMethodParams = @{<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Uri = <span class=\"hljs-string\">\"https:\/\/petstore.swagger.io\/v2\/pet\/<span class=\"hljs-variable\">$Id<\/span>\"<\/span><br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0ContentType = <span class=\"hljs-string\">\"application\/json\"<\/span><br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Method = <span class=\"hljs-string\">\"GET\"<\/span><br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0}<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Invoke-RestMethod <span class=\"hljs-meta\">@RestMethodParams<\/span><br \/>\u00a0\u00a0\u00a0\u00a0}<br \/>\u00a0\u00a0\u00a0\u00a0<span class=\"hljs-selector-tag\">End<\/span>{}<br \/>}<\/code> <\/pre>\n<p>\u0628\u0639\u062f \u0625\u0646\u0634\u0627\u0621 \u0648\u0638\u064a\u0641\u062a\u0643\u060c \u064a\u0645\u0643\u0646\u0643 \u0627\u0633\u062a\u062f\u0639\u0627\u0624\u0647\u0627 \u0641\u064a \u0627\u0644\u0628\u0631\u0646\u0627\u0645\u062c \u0627\u0644\u0646\u0635\u064a \u0627\u0644\u062e\u0627\u0635 \u0628\u0643:<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":7,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":7,\"nbrPlacementsScanned\":7,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":268} --><\/p>\n<pre><code class=\"hljs xml\">PS51&gt; Get-PetstorePet -Id 1<p>id name photoUrls tags<br \/>\u00a01 <span class=\"hljs-selector-tag\">Doggie<\/span> {<span class=\"hljs-attribute\">http<\/span>:\/\/picture.url} {} <\/p><\/code> <\/pre>\n<p>\u064a\u0645\u0643\u0646\u0643 \u0627\u0644\u0642\u064a\u0627\u0645 \u0628\u0630\u0644\u0643 \u0645\u0646 \u0623\u062c\u0644 \u0637\u0631\u064a\u0642\u0629 POST \u0648\u0643\u0630\u0644\u0643 \u0644\u0625\u0646\u0634\u0627\u0621 \u062d\u064a\u0648\u0627\u0646 \u0623\u0644\u064a\u0641 \u062c\u062f\u064a\u062f \u0641\u064a \u0645\u062a\u062c\u0631 \u0627\u0644\u062d\u064a\u0648\u0627\u0646\u0627\u062a \u0627\u0644\u0623\u0644\u064a\u0641\u0629:<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":7,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":7,\"nbrPlacementsScanned\":7,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":352} --><\/p>\n<pre><code class=\"hljs xml\"><span class=\"hljs-function\"><span class=\"hljs-keyword\">Function<\/span>\u00a0<span class=\"hljs-title\">Add<\/span>-<span class=\"hljs-title\">PetstorePet<\/span>\u00a0<\/span>{<br \/>\u00a0\u00a0\u00a0\u00a0<span class=\"hljs-selector-attr\">(cmdletbinding())<\/span><br \/>\u00a0\u00a0\u00a0\u00a0param(<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<span class=\"hljs-selector-attr\">(Parameter(Mandatory,ValueFromPipelineByPropertyName))<\/span><br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0(int)$Id,<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<span class=\"hljs-selector-attr\">(Parameter(Mandatory,ValueFromPipelineByPropertyName))<\/span><br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0(string)$Name, <br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<span class=\"hljs-selector-attr\">(Parameter(Mandatory,ValueFromPipelineByPropertyName))<\/span><br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0(string)$Status, <br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<span class=\"hljs-selector-attr\">(Parameter(Mandatory,ValueFromPipelineByPropertyName))<\/span><br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0(int)$CategoryId, <br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<span class=\"hljs-selector-attr\">(Parameter(Mandatory,ValueFromPipelineByPropertyName))<\/span><br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0(string)$CategoryName, <br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<span class=\"hljs-selector-attr\">(Parameter(Mandatory,ValueFromPipelineByPropertyName))<\/span><br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0(string())$PhotoUrls,<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<span class=\"hljs-selector-attr\">(Parameter(Mandatory,ValueFromPipelineByPropertyName))<\/span><br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0(Hashtable())$Tags<br \/>\u00a0\u00a0\u00a0\u00a0)<br \/>\u00a0\u00a0\u00a0\u00a0<span class=\"hljs-selector-tag\">Begin<\/span>{}<br \/>\u00a0\u00a0\u00a0\u00a0Process{<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0$Body = @{<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0id = $Id<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0category = @{<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0id = $CategoryId<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0name = $CategoryName<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0}<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0name = $Name<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0photoUrls = $PhotoUrls<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0tags = $Tags<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0status = $Status<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0}<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0$BodyJson = $Body | ConvertTo-Json<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0$RestMethodParams = @{<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Uri = <span class=\"hljs-string\">\"https:\/\/petstore.swagger.io\/v2\/pet\/\"<\/span><br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0ContentType = <span class=\"hljs-string\">\"application\/json\"<\/span><br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Method = <span class=\"hljs-string\">\"Post\"<\/span><br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Body = $BodyJson<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0}<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Invoke-RestMethod <span class=\"hljs-meta\">@RestMethodParams<\/span><br \/>\u00a0\u00a0\u00a0\u00a0}<br \/>\u00a0\u00a0\u00a0\u00a0<span class=\"hljs-selector-tag\">End<\/span>{}<br \/>}<\/code> <\/pre>\n<p>\u0648\u0627\u0633\u062a\u062f\u0639\u0627\u0621 \u0648\u0638\u064a\u0641\u0629 PowerShell \u0647\u0630\u0647 \u0628\u0639\u062f \u0630\u0644\u0643 \u064a\u062c\u0639\u0644 \u0647\u0630\u0647 \u0627\u0644\u0645\u0647\u0645\u0629 \u0627\u0644\u0637\u0648\u064a\u0644\u0629 \u0623\u0633\u0647\u0644 \u0643\u062b\u064a\u0631\u064b\u0627:<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":7,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":7,\"nbrPlacementsScanned\":7,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":439} --><\/p>\n<pre><code class=\"hljs xml\">PS51&gt; $AddPetStorePetsParams = @{<br \/>\u00a0\u00a0\u00a0\u00a0Id = 44<br \/>\u00a0\u00a0\u00a0\u00a0Name = <span class=\"hljs-string\">\"Birdie\"<\/span><br \/>\u00a0\u00a0\u00a0\u00a0Status = <span class=\"hljs-string\">\"available\"<\/span><br \/>\u00a0\u00a0\u00a0\u00a0CategoryId = 50<br \/>\u00a0\u00a0\u00a0\u00a0CategoryName = <span class=\"hljs-string\">\"Hawks\"<\/span><br \/>\u00a0\u00a0\u00a0\u00a0PhotoUrls = <span class=\"hljs-string\">\"https:\/\/images.contoso.com\/hawk.jpg\"<\/span><br \/>\u00a0\u00a0\u00a0\u00a0Tags = @(<br \/><span class=\"hljs-meta\"> @{<\/span><br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Id=10<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Name=<span class=\"hljs-string\">\"Not eagles\"<\/span><br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0}<br \/>\u00a0\u00a0\u00a0\u00a0)<br \/>}<br \/>PS51&gt; Add-PetStorePet <span class=\"hljs-meta\">@AddPetStorePetsParams<\/span><p>id : 44<br \/>category : @{id=50; name=Hawks}<br \/>name : Birdie<br \/><span class=\"hljs-selector-tag\">photoUrls<\/span> : {<span class=\"hljs-attribute\">https<\/span>:\/\/images.contoso.com\/hawk.jpg}<br \/>tags : {@{id=0}}<br \/>status : available<\/p><\/code> <\/pre>\n<p>\u0645\u0646 \u0627\u0644\u0645\u062d\u062a\u0645\u0644 \u0623\u0646 \u0627\u0644\u0639\u062f\u064a\u062f \u0645\u0646 \u0627\u0644\u0648\u062d\u062f\u0627\u062a \u0627\u0644\u062a\u064a \u062a\u0633\u062a\u062e\u062f\u0645\u0647\u0627 \u064a\u0648\u0645\u064a\u064b\u0627 \u062a\u062a\u0643\u0648\u0646 \u0645\u0646 \u0648\u0638\u0627\u0626\u0641 \u062a\u0633\u062a\u062e\u062f\u0645 \u0648\u0627\u062c\u0647\u0627\u062a \u0628\u0631\u0645\u062c\u0629 \u062a\u0637\u0628\u064a\u0642\u0627\u062a REST \u0641\u0642\u0637 \u0641\u064a \u0627\u0644\u062e\u0644\u0641\u064a\u0629.<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":7,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":7,\"nbrPlacementsScanned\":7,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":560} --><\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":7,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":7,\"nbrPlacementsScanned\":7,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":560} --><\/p>\n<h2 id=\"summary\"><span class=\"ez-toc-section\" id=\"%D9%85%D9%84%D8%AE%D8%B5\"><\/span>  \u0645\u0644\u062e\u0635 <span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u0625\u0646 \u062a\u0639\u0644\u0645 \u0643\u064a\u0641\u064a\u0629 \u0627\u0633\u062a\u062e\u062f\u0627\u0645 REST APIs \u064a\u062a\u0639\u0644\u0642 \u0628\u0634\u0643\u0644 \u0623\u0633\u0627\u0633\u064a \u0628\u062a\u0639\u0644\u0645 \u0642\u0631\u0627\u0621\u0629 \u0627\u0644\u0648\u062b\u0627\u0626\u0642. \u0644\u0642\u062f \u0627\u0633\u062a\u062e\u062f\u0645\u0646\u0627 \u0627\u0644\u062a\u0648\u062b\u064a\u0642 \u0627\u0644\u0645\u0633\u062a\u0646\u062f \u0625\u0644\u0649 SWAGGER \u0641\u064a \u0647\u0630\u0627 \u0627\u0644\u0645\u0646\u0634\u0648\u0631\u060c \u0644\u0623\u0646\u0647 \u064a\u0645\u062b\u0644 \u0643\u064a\u0641 \u0642\u062f \u062a\u0628\u062f\u0648 \u0623\u0646\u0645\u0627\u0637 \u0627\u0644\u062a\u0648\u062b\u064a\u0642 \u0627\u0644\u0623\u062e\u0631\u0649 \u0623\u064a\u0636\u064b\u0627.<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":7,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":7,\"nbrPlacementsScanned\":7,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":760} --><\/p>\n<p>\u0643\u0645\u0627 \u0623\u0646 \u062a\u062d\u0648\u064a\u0644 \u0627\u0633\u062a\u062f\u0639\u0627\u0621\u0627\u062a \u0648\u0627\u062c\u0647\u0629 \u0628\u0631\u0645\u062c\u0629 \u0627\u0644\u062a\u0637\u0628\u064a\u0642\u0627\u062a (API) \u0627\u0644\u062e\u0627\u0635\u0629 \u0628\u0643 \u0625\u0644\u0649 \u0648\u0638\u064a\u0641\u0629 \u064a\u0645\u0643\u0646 \u0623\u0646 \u064a\u0648\u0641\u0631 \u0639\u0644\u064a\u0643 \u0627\u0644\u0643\u062b\u064a\u0631 \u0645\u0646 \u0627\u0644\u0648\u0642\u062a\u060c \u0648\u064a\u062c\u0639\u0644 \u0639\u0645\u0644\u0643 \u0623\u0633\u0647\u0644\u060c \u0648\u064a\u062c\u0639\u0644 \u0646\u0635\u0648\u0635\u0643 \u0627\u0644\u0628\u0631\u0645\u062c\u064a\u0629 \u0623\u0643\u062b\u0631 \u0648\u0636\u0648\u062d\u064b\u0627.<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":7,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":7,\"nbrPlacementsScanned\":7,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":882} -->\n <\/div>\n<p>    (\u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062a \u0644\u0644\u062a\u0631\u062c\u0645\u0629)\u0645\u0627\u064a\u0643\u0631\u0648\u0633\u0648\u0641\u062a<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0631\u0648\u0627\u0628\u0637 \u0633\u0631\u064a\u0639\u0629 \u0627\u062d\u0635\u0644 \u0639\u0644\u0649 (\u062a\u064a\u0646\u063a) \u0628\u064a\u0627\u0646\u0627\u062a\u0643 \u0627\u0644\u0623\u0648\u0644\u0649 \u0625\u0646\u0634\u0627\u0621 \u0643\u0627\u0626\u0646 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0637\u0631\u064a\u0642\u0629 POST \u064a\u0639\u062f \u0627\u0633\u062a\u062e\u062f\u0627\u0645 REST APIs \u0644\u062a\u0648\u0633\u064a\u0639 \u0627\u0644\u0628\u0631\u0627\u0645\u062c \u0627\u0644\u0646\u0635\u064a\u0629 \u0627\u0644\u062e\u0627\u0635\u0629 \u0628\u0643 \u0645\u064a\u0632\u0629 \u0645\u0641\u064a\u062f\u0629 \u0644\u0644\u062a\u0646\u0641\u064a\u0630. \u064a\u0645\u0643\u0646\u0643 \u0627\u0644\u0648\u0635\u0648\u0644 \u0625\u0644\u0649 \u0648\u0638\u0627\u0626\u0641 \u062c\u062f\u064a\u062f\u0629\u060c \u0648\u062a\u0648\u0633\u064a\u0639 \u0625\u0645\u0643\u0627\u0646\u064a\u0627\u062a \u0625\u0646\u0634\u0627\u0621 \u0646\u0635\u0648\u0635 \u0628\u0631\u0645\u062c\u064a\u0629 \u062c\u062f\u064a\u062f\u0629 \u0623\u0643\u062b\u0631 \u062a\u0642\u062f\u0645\u064b\u0627. \u0644\u0643\u0646 \u062a\u062c\u0631\u0628\u0629 \u0627\u0644\u0643\u062b\u064a\u0631\u064a\u0646 \u0639\u0646\u062f \u0627\u0644\u0628\u062f\u0621 \u0641\u064a \u0627\u0633\u062a\u062e\u062f\u0627\u0645 REST APIs \u0641\u064a \u0627\u0644\u0628\u0631\u0627\u0645\u062c \u0627\u0644\u0646\u0635\u064a\u0629 \u0647\u064a \u0623\u0646\u0647\u0627 \u062a\u0628\u062f\u0648 \u062e\u0631\u0642\u0627\u0621 \u0648\u063a\u064a\u0631 \u0637\u0628\u064a\u0639\u064a\u0629 &#8230; <a title=\"\u062a\u0639\u0644\u0645 \u0648\u0627\u062c\u0647\u0629 \u0628\u0631\u0645\u062c\u0629 \u062a\u0637\u0628\u064a\u0642\u0627\u062a REST \u0627\u0644\u062c\u062f\u064a\u062f\u0629 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 PowerShell\" class=\"read-more\" href=\"https:\/\/goodwriterz.com\/site\/%d8%aa%d8%b9%d9%84%d9%85-%d9%88%d8%a7%d8%ac%d9%87%d8%a9-%d8%a8%d8%b1%d9%85%d8%ac%d8%a9-%d8%aa%d8%b7%d8%a8%d9%8a%d9%82%d8%a7%d8%aa-rest-%d8%a7%d9%84%d8%ac%d8%af%d9%8a%d8%af%d8%a9-%d8%a8%d8%a7%d8%b3\/\" aria-label=\"Read more about \u062a\u0639\u0644\u0645 \u0648\u0627\u062c\u0647\u0629 \u0628\u0631\u0645\u062c\u0629 \u062a\u0637\u0628\u064a\u0642\u0627\u062a REST \u0627\u0644\u062c\u062f\u064a\u062f\u0629 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 PowerShell\">\u0625\u0642\u0631\u0623 \u0627\u0644\u0645\u0632\u064a\u062f<\/a><\/p>\n","protected":false},"author":1,"featured_media":72372,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[24],"tags":[39],"class_list":["post-72371","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-microsoft","tag-microsoft"],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/goodwriterz.com\/site\/wp-content\/uploads\/2024\/11\/1730849396_%D8%AA%D8%B9%D9%84%D9%85-%D9%88%D8%A7%D8%AC%D9%87%D8%A9-%D8%A8%D8%B1%D9%85%D8%AC%D8%A9-%D8%AA%D8%B7%D8%A8%D9%8A%D9%82%D8%A7%D8%AA-REST-%D8%A7%D9%84%D8%AC%D8%AF%D9%8A%D8%AF%D8%A9-%D8%A8%D8%A7%D8%B3%D8%AA%D8%AE%D8%AF%D8%A7%D9%85-PowerShell.png?fit=1400%2C578&ssl=1","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/goodwriterz.com\/site\/wp-json\/wp\/v2\/posts\/72371","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/goodwriterz.com\/site\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/goodwriterz.com\/site\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/goodwriterz.com\/site\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/goodwriterz.com\/site\/wp-json\/wp\/v2\/comments?post=72371"}],"version-history":[{"count":1,"href":"https:\/\/goodwriterz.com\/site\/wp-json\/wp\/v2\/posts\/72371\/revisions"}],"predecessor-version":[{"id":72373,"href":"https:\/\/goodwriterz.com\/site\/wp-json\/wp\/v2\/posts\/72371\/revisions\/72373"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/goodwriterz.com\/site\/wp-json\/wp\/v2\/media\/72372"}],"wp:attachment":[{"href":"https:\/\/goodwriterz.com\/site\/wp-json\/wp\/v2\/media?parent=72371"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/goodwriterz.com\/site\/wp-json\/wp\/v2\/categories?post=72371"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/goodwriterz.com\/site\/wp-json\/wp\/v2\/tags?post=72371"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}