{"id":833,"date":"2023-03-09T16:55:26","date_gmt":"2023-03-09T13:55:26","guid":{"rendered":"https:\/\/docs.unibell.ru\/?page_id=833"},"modified":"2024-08-15T15:08:48","modified_gmt":"2024-08-15T12:08:48","slug":"http-%d0%b7%d0%b0%d0%bf%d1%80%d0%be%d1%81","status":"publish","type":"page","link":"https:\/\/docs.unibell.tech\/?page_id=833","title":{"rendered":"HTTP request"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.unibell.tech\/wp-content\/uploads\/2024\/02\/httpreqest-1.png\"><img decoding=\"async\" width=\"104\" height=\"82\" src=\"https:\/\/docs.unibell.tech\/wp-content\/uploads\/2024\/02\/httpreqest-1.png\" alt=\"\" class=\"wp-image-2475\"\/><\/a><\/figure>\n\n\n\n<p>The HTTP request block is used to transfer or receive data (or operations with it) between the scenario and the external system (over the HTTP protocol).<\/p>\n\n\n\n<p> Each new HTTP request block placed in the scenario is configured individually depending on what function it should perform in each specific case.<\/p>\n\n\n\n<p>Configuring the HTTP request block begins by specifying the method that the request will be executed and specifying a link to the resource containing the transmission parameters. Variables can be passed as the parameter value.<\/p>\n\n\n\n<p>For example, https:\/\/ya.ru?par=1&amp;par=2&amp;par3 ={test}.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.unibell.tech\/wp-content\/uploads\/2024\/02\/httpreqest-2.png\"><img decoding=\"async\" width=\"522\" height=\"406\" src=\"https:\/\/docs.unibell.tech\/wp-content\/uploads\/2024\/02\/httpreqest-2.png\" alt=\"\" class=\"wp-image-2456\" srcset=\"https:\/\/docs.unibell.tech\/wp-content\/uploads\/2024\/02\/httpreqest-2.png 522w, https:\/\/docs.unibell.tech\/wp-content\/uploads\/2024\/02\/httpreqest-2-300x233.png 300w\" sizes=\"(max-width: 522px) 100vw, 522px\" \/><\/a><\/figure>\n\n\n\n<p>Specify the type of authorization supported by the external system and its characteristic set of parameters.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.unibell.tech\/wp-content\/uploads\/2024\/02\/httpreqest-4.png\"><img decoding=\"async\" width=\"257\" height=\"429\" src=\"https:\/\/docs.unibell.tech\/wp-content\/uploads\/2024\/02\/httpreqest-4.png\" alt=\"\" class=\"wp-image-2457\" srcset=\"https:\/\/docs.unibell.tech\/wp-content\/uploads\/2024\/02\/httpreqest-4.png 257w, https:\/\/docs.unibell.tech\/wp-content\/uploads\/2024\/02\/httpreqest-4-180x300.png 180w\" sizes=\"(max-width: 257px) 100vw, 257px\" \/><\/a><\/figure>\n\n\n\n<p>Please note that when specifying the &#8220;Certificate&#8221; authorization type, you will need to select a specific certificate from the &#8220;Certificate&#8221; drop-down list. In order for the certificate to appear in this list, you must first download your certificate file in the user&#8217;s personal account. See the Personal area <a href=\"https:\/\/docs.unibell.tech\/?page_id=2448\" data-type=\"page\">Certificates<\/a> section for how to do this.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.unibell.tech\/wp-content\/uploads\/2024\/02\/httpreqest-5.png\"><img decoding=\"async\" width=\"263\" height=\"488\" src=\"https:\/\/docs.unibell.tech\/wp-content\/uploads\/2024\/02\/httpreqest-5.png\" alt=\"\" class=\"wp-image-2458\" srcset=\"https:\/\/docs.unibell.tech\/wp-content\/uploads\/2024\/02\/httpreqest-5.png 263w, https:\/\/docs.unibell.tech\/wp-content\/uploads\/2024\/02\/httpreqest-5-162x300.png 162w\" sizes=\"(max-width: 263px) 100vw, 263px\" \/><\/a><\/figure>\n\n\n\n<p>The next step is to specify the parameters of Waiting for a response from a third-party HTTP server. If waiting for a response is required, then switch to the appropriate \u201cRequired&#8221; value. Set the response timeout and specify which variable the response code and body will be placed in:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.unibell.tech\/wp-content\/uploads\/2024\/02\/httpreqest-6.png\"><img decoding=\"async\" width=\"262\" height=\"676\" src=\"https:\/\/docs.unibell.tech\/wp-content\/uploads\/2024\/02\/httpreqest-6.png\" alt=\"\" class=\"wp-image-2459\" srcset=\"https:\/\/docs.unibell.tech\/wp-content\/uploads\/2024\/02\/httpreqest-6.png 262w, https:\/\/docs.unibell.tech\/wp-content\/uploads\/2024\/02\/httpreqest-6-116x300.png 116w\" sizes=\"(max-width: 262px) 100vw, 262px\" \/><\/a><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>The HTTP request block is used to transfer or receive data (or operations with it) between the scenario and the external system (over the HTTP protocol). Each new HTTP request block placed in the scenario is configured individually depending on what function it should perform in each specific case. Configuring the HTTP request block begins <a href=\"https:\/\/docs.unibell.tech\/?page_id=833\" class=\"more-link\">&#8230;<span class=\"screen-reader-text\">  HTTP request<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":862,"menu_order":5,"comment_status":"closed","ping_status":"closed","template":"tpl\/scenario-personal.php","meta":{"footnotes":""},"class_list":["post-833","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.unibell.tech\/index.php?rest_route=\/wp\/v2\/pages\/833","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.unibell.tech\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/docs.unibell.tech\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/docs.unibell.tech\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.unibell.tech\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=833"}],"version-history":[{"count":9,"href":"https:\/\/docs.unibell.tech\/index.php?rest_route=\/wp\/v2\/pages\/833\/revisions"}],"predecessor-version":[{"id":3302,"href":"https:\/\/docs.unibell.tech\/index.php?rest_route=\/wp\/v2\/pages\/833\/revisions\/3302"}],"up":[{"embeddable":true,"href":"https:\/\/docs.unibell.tech\/index.php?rest_route=\/wp\/v2\/pages\/862"}],"wp:attachment":[{"href":"https:\/\/docs.unibell.tech\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=833"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}