{"id":104998,"date":"2025-04-28T10:56:56","date_gmt":"2025-04-28T03:56:56","guid":{"rendered":"https:\/\/wiki.tino.org\/?p=104998"},"modified":"2025-08-14T14:53:58","modified_gmt":"2025-08-14T07:53:58","slug":"cach-them-api-vao-n8n","status":"publish","type":"post","link":"https:\/\/tino.vn\/blog\/cach-them-api-vao-n8n\/","title":{"rendered":"H\u01b0\u1edbng d\u1eabn c\u00e1ch th\u00eam API v\u00e0o n8n b\u1eb1ng HTTP Request (chi ti\u1ebft cho ng\u01b0\u1eddi m\u1edbi)"},"content":{"rendered":"\n<p><strong>M\u1ed9t trong nh\u1eefng t\u00ednh n\u0103ng quan tr\u1ecdng nh\u1ea5t c\u1ee7a<a href=\"https:\/\/tino.vn\/blog\/n8n-la-gi\/\" data-type=\"post\" data-id=\"104774\" target=\"_blank\" rel=\"noreferrer noopener\"> n8n<\/a> so v\u1edbi c\u00e1c c\u00f4ng c\u1ee5 t\u01b0\u01a1ng t\u1ef1 tr\u00ean th\u1ecb tr\u01b0\u1eddng l\u00e0 kh\u1ea3 n\u0103ng t\u00edch h\u1ee3p API, gi\u00fap b\u1ea1n k\u1ebft n\u1ed1i v\u00e0 t\u01b0\u01a1ng t\u00e1c v\u1edbi c\u00e1c d\u1ecbch v\u1ee5 b\u00ean ngo\u00e0i. Tuy nhi\u00ean, \u0111\u1ed1i v\u1edbi ng\u01b0\u1eddi m\u1edbi, vi\u1ec7c th\u00eam API c\u00f3 th\u1ec3 g\u00e2y kh\u00f3 kh\u0103n n\u1ebfu ch\u01b0a hi\u1ec3u r\u00f5 quy tr\u00ecnh. Trong b\u00e0i vi\u1ebft n\u00e0y, Tino s\u1ebd h\u01b0\u1edbng d\u1eabn b\u1ea1n c\u00e1ch th\u00eam API v\u00e0o n8n b\u1eb1ng HTTP Request chi ti\u1ebft.<\/strong><\/p>\n\n\n\n<h2 id=\"T\u1ed5ng_quan_v\u1ec1_API_trong_n8n\"><a id=\"post-104998-_w95j7ou0zrs1\"><\/a>T\u1ed5ng quan v\u1ec1 API trong n8n<\/h2>\n\n\n\n<h3 id=\"API_l\u00e0_g\u00ec?\"><a id=\"post-104998-_zayrxetpq4nu\"><\/a><strong>API l\u00e0 g\u00ec?<\/strong><\/h3>\n\n\n\n<p>API (<strong>Application Programming Interface<\/strong>) l\u00e0 m\u1ed9t t\u1eadp h\u1ee3p c\u00e1c quy t\u1eafc v\u00e0 giao th\u1ee9c cho ph\u00e9p hai \u1ee9ng d\u1ee5ng ph\u1ea7n m\u1ec1m giao ti\u1ebfp v\u1edbi nhau. Hi\u1ec3u \u0111\u01a1n gi\u1ea3n, API \u0111\u00f3ng vai tr\u00f2 nh\u01b0 m\u1ed9t &#8220;c\u1ea7u n\u1ed1i&#8221; gi\u1eefa c\u00e1c h\u1ec7 th\u1ed1ng kh\u00e1c nhau, gi\u00fap ch\u00fang chia s\u1ebb d\u1eef li\u1ec7u v\u00e0 th\u1ef1c hi\u1ec7n c\u00e1c t\u00e1c v\u1ee5 m\u00e0 kh\u00f4ng c\u1ea7n ph\u1ea3i hi\u1ec3u chi ti\u1ebft v\u1ec1 c\u00e1ch ho\u1ea1t \u0111\u1ed9ng b\u00ean trong c\u1ee7a nhau.<\/p>\n\n\n\n<p><strong>V\u00ed d\u1ee5:<\/strong> Khi b\u1ea1n s\u1eed d\u1ee5ng m\u1ed9t \u1ee9ng d\u1ee5ng di \u0111\u1ed9ng \u0111\u1ec3 \u0111\u1eb7t h\u00e0ng tr\u00ean m\u1ed9t n\u1ec1n t\u1ea3ng th\u01b0\u01a1ng m\u1ea1i \u0111i\u1ec7n t\u1eed, \u1ee9ng d\u1ee5ng \u0111\u00f3 c\u00f3 th\u1ec3 g\u1ecdi API c\u1ee7a h\u1ec7 th\u1ed1ng thanh to\u00e1n \u0111\u1ec3 x\u1eed l\u00fd giao d\u1ecbch ho\u1eb7c g\u1ecdi API c\u1ee7a d\u1ecbch v\u1ee5 v\u1eadn chuy\u1ec3n \u0111\u1ec3 c\u1eadp nh\u1eadt tr\u1ea1ng th\u00e1i \u0111\u01a1n h\u00e0ng. API \u0111\u1ea3m b\u1ea3o r\u1eb1ng c\u00e1c h\u1ec7 th\u1ed1ng n\u00e0y c\u00f3 th\u1ec3 l\u00e0m vi\u1ec7c c\u00f9ng nhau m\u1ed9t c\u00e1ch m\u01b0\u1ee3t m\u00e0 v\u00e0 hi\u1ec7u qu\u1ea3.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"700\" height=\"375\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-2.png\" alt=\"API l\u00e0 g\u00ec?\" class=\"wp-image-105000\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-2.png 700w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-2-300x161.png 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption class=\"wp-element-caption\"><strong>API l\u00e0 g\u00ec?<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p>V\u1ec1 c\u01a1 b\u1ea3n, API ho\u1ea1t \u0111\u1ed9ng b\u1eb1ng c\u00e1ch g\u1eedi y\u00eau c\u1ea7u (request) \u0111\u1ebfn m\u1ed9t \u0111i\u1ec3m cu\u1ed1i (endpoint) c\u1ee5 th\u1ec3 v\u00e0 nh\u1eadn l\u1ea1i ph\u1ea3n h\u1ed3i (response) ch\u1ee9a d\u1eef li\u1ec7u ho\u1eb7c h\u00e0nh \u0111\u1ed9ng \u0111\u01b0\u1ee3c y\u00eau c\u1ea7u. V\u00ed d\u1ee5, API c\u1ee7a Trello cho ph\u00e9p b\u1ea1n t\u1ef1 \u0111\u1ed9ng t\u1ea1o th\u1ebb m\u1edbi, trong khi API c\u1ee7a Google Calendar c\u00f3 th\u1ec3 gi\u00fap b\u1ea1n th\u00eam s\u1ef1 ki\u1ec7n m\u00e0 kh\u00f4ng c\u1ea7n m\u1edf \u1ee9ng d\u1ee5ng.<\/p>\n\n\n\n<p>&nbsp;<\/p>\n\n\n\n<h3 id=\"T\u1ea1i_sao_c\u1ea7n_th\u00eam_API_v\u00e0o_n8n?\"><a id=\"post-104998-_e7isczlvj8r7\"><\/a><strong>T\u1ea1i sao c\u1ea7n th\u00eam API v\u00e0o n8n?<\/strong><\/h3>\n\n\n\n<p>Vi\u1ec7c th\u00eam API v\u00e0o n8n l\u00e0 y\u1ebfu t\u1ed1 c\u1ed1t l\u00f5i \u0111\u1ec3 khai th\u00e1c s\u1ee9c m\u1ea1nh c\u1ee7a c\u00f4ng c\u1ee5 t\u1ef1 \u0111\u1ed9ng h\u00f3a n\u00e0y, \u0111\u1eb7c bi\u1ec7t \u0111\u1ed1i v\u1edbi ng\u01b0\u1eddi m\u1edbi mu\u1ed1n t\u1ed1i \u01b0u h\u00f3a quy tr\u00ecnh l\u00e0m vi\u1ec7c. D\u01b0\u1edbi \u0111\u00e2y l\u00e0 nh\u1eefng l\u00fd do ch\u00ednh:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>K\u1ebft n\u1ed1i kh\u00f4ng gi\u1edbi h\u1ea1n:<\/strong> Kh\u00f4ng ph\u1ea3i \u1ee9ng d\u1ee5ng n\u00e0o c\u0169ng c\u00f3 s\u1eb5n node trong n8n. Nh\u1edd API, b\u1ea1n c\u00f3 th\u1ec3 k\u1ebft n\u1ed1i v\u1edbi b\u1ea5t k\u1ef3 n\u1ec1n t\u1ea3ng n\u00e0o c\u00f3 h\u1ed7 tr\u1ee3 REST API \u2013 t\u1eeb c\u00e1c d\u1ecbch v\u1ee5 ph\u1ed5 bi\u1ebfn \u0111\u1ebfn h\u1ec7 th\u1ed1ng n\u1ed9i b\u1ed9.<\/li>\n\n\n\n<li><strong>T\u1ef1 \u0111\u1ed9ng h\u00f3a d\u1eef li\u1ec7u: <\/strong>Khi t\u00edch h\u1ee3p API, b\u1ea1n c\u00f3 th\u1ec3 l\u1ea5y d\u1eef li\u1ec7u t\u1eeb h\u1ec7 th\u1ed1ng A v\u00e0 g\u1eedi qua h\u1ec7 th\u1ed1ng B m\u1ed9t c\u00e1ch ho\u00e0n to\u00e0n t\u1ef1 \u0111\u1ed9ng (v\u00ed d\u1ee5: l\u1ea5y th\u00f4ng tin \u0111\u01a1n h\u00e0ng v\u00e0 g\u1eedi sang Google Sheet).<\/li>\n\n\n\n<li><strong>T\u1ed1i \u01b0u quy tr\u00ecnh l\u00e0m vi\u1ec7c:<\/strong> Thay v\u00ec thao t\u00e1c th\u1ee7 c\u00f4ng, b\u1ea1n ch\u1ec9 c\u1ea7n thi\u1ebft l\u1eadp m\u1ed9t l\u1ea7n v\u00e0 \u0111\u1ec3 n8n x\u1eed l\u00fd t\u1ef1 \u0111\u1ed9ng m\u1ed7i khi c\u00f3 s\u1ef1 ki\u1ec7n x\u1ea3y ra.<\/li>\n\n\n\n<li><strong>T\u00ednh linh ho\u1ea1t cao:<\/strong> V\u1edbi HTTP Request node, b\u1ea1n c\u00f3 th\u1ec3 t\u00f9y ch\u1ec9nh URL, headers, body,&#8230; linh ho\u1ea1t theo \u0111\u00fang y\u00eau c\u1ea7u c\u1ee7a API m\u00e0 b\u1ea1n \u0111ang k\u1ebft n\u1ed1i.<\/li>\n\n\n\n<li><strong>H\u1ed7 tr\u1ee3 c\u00e1c tr\u01b0\u1eddng h\u1ee3p s\u1eed d\u1ee5ng t\u00f9y ch\u1ec9nh:<\/strong> Trong nhi\u1ec1u tr\u01b0\u1eddng h\u1ee3p, c\u00e1c nhu c\u1ea7u kinh doanh c\u1ee7a b\u1ea1n c\u00f3 th\u1ec3 kh\u00f4ng ph\u00f9 h\u1ee3p ho\u00e0n to\u00e0n v\u1edbi c\u00e1c t\u00ednh n\u0103ng s\u1eb5n c\u00f3 c\u1ee7a n8n. Th\u00eam API cho ph\u00e9p b\u1ea1n t\u00f9y ch\u1ec9nh quy tr\u00ecnh l\u00e0m vi\u1ec7c \u0111\u1ec3 \u0111\u00e1p \u1ee9ng ch\u00ednh x\u00e1c c\u00e1c y\u00eau c\u1ea7u c\u1ee5 th\u1ec3.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"700\" height=\"375\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-3.png\" alt=\"T\u1ea1i sao c\u1ea7n th\u00eam API v\u00e0o n8n?\" class=\"wp-image-105001\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-3.png 700w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-3-300x161.png 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption class=\"wp-element-caption\"><strong>T\u1ea1i sao c\u1ea7n th\u00eam API v\u00e0o n8n?<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<h2 id=\"H\u01b0\u1edbng_d\u1eabn_c\u00e1ch_th\u00eam_API_v\u00e0o_n8n_th\u00f4ng_qua_node_HTTP_Request\"><a id=\"post-104998-_ckcsi9ze1e0m\"><\/a>H\u01b0\u1edbng d\u1eabn c\u00e1ch th\u00eam API v\u00e0o n8n th\u00f4ng qua node HTTP Request<\/h2>\n\n\n\n<h3 id=\"HTTP_Request_l\u00e0_g\u00ec?\"><a id=\"post-104998-_2af46fewkr43\"><\/a><strong>HTTP Request l\u00e0 g\u00ec?<\/strong><\/h3>\n\n\n\n<p>HTTP Request trong n8n l\u00e0 m\u1ed9t node (n\u00fat) \u0111\u01b0\u1ee3c s\u1eed d\u1ee5ng \u0111\u1ec3 g\u1eedi c\u00e1c y\u00eau c\u1ea7u HTTP \u0111\u1ebfn m\u1ed9t API ho\u1eb7c d\u1ecbch v\u1ee5 b\u00ean ngo\u00e0i, cho ph\u00e9p n8n t\u01b0\u01a1ng t\u00e1c v\u1edbi c\u00e1c h\u1ec7 th\u1ed1ng kh\u00e1c \u0111\u1ec3 l\u1ea5y d\u1eef li\u1ec7u, g\u1eedi th\u00f4ng tin ho\u1eb7c th\u1ef1c hi\u1ec7n c\u00e1c h\u00e0nh \u0111\u1ed9ng c\u1ee5 th\u1ec3. \u0110\u00e2y l\u00e0 m\u1ed9t trong nh\u1eefng node m\u1ea1nh m\u1ebd v\u00e0 linh ho\u1ea1t nh\u1ea5t trong n8n, \u0111\u1eb7c bi\u1ec7t h\u1eefu \u00edch khi b\u1ea1n c\u1ea7n t\u00edch h\u1ee3p v\u1edbi c\u00e1c d\u1ecbch v\u1ee5 kh\u00f4ng c\u00f3 node t\u00edch h\u1ee3p s\u1eb5n ho\u1eb7c mu\u1ed1n t\u00f9y ch\u1ec9nh c\u00e1c y\u00eau c\u1ea7u API.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"700\" height=\"375\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-4.png\" alt=\"HTTP Request l\u00e0 g\u00ec?\" class=\"wp-image-105002\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-4.png 700w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-4-300x161.png 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption class=\"wp-element-caption\"><strong>HTTP Request l\u00e0 g\u00ec?<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p>T\u00f3m l\u1ea1i, node n\u00e0y ho\u1ea1t \u0111\u1ed9ng nh\u01b0 m\u1ed9t &#8220;c\u1ea7u n\u1ed1i&#8221; gi\u1eefa n8n v\u00e0 c\u00e1c API ngo\u00e0i, cho ph\u00e9p b\u1ea1n g\u1eedi y\u00eau c\u1ea7u v\u1edbi c\u00e1c th\u00f4ng tin nh\u01b0 URL endpoint, header, tham s\u1ed1 ho\u1eb7c body, sau \u0111\u00f3 nh\u1eadn v\u00e0 x\u1eed l\u00fd ph\u1ea3n h\u1ed3i (th\u01b0\u1eddng \u1edf d\u1ea1ng JSON, XML, ho\u1eb7c text).<\/p>\n\n\n\n<h4 id=\"Gi\u1ea3i_th\u00edch_c\u1ea5u_h\u00ecnh_c\u01a1_b\u1ea3n_c\u1ee7a_node_HTTP_Request_trong_n8n\"><a id=\"post-104998-_ia1t0le6f0a\"><\/a>Gi\u1ea3i th\u00edch c\u1ea5u h\u00ecnh c\u01a1 b\u1ea3n c\u1ee7a node HTTP Request trong n8n<\/h4>\n\n\n\n<p>Khi b\u1ea1n th\u00eam node HTTP Request v\u00e0o workflow trong n8n v\u00e0 m\u1edf panel c\u1ea5u h\u00ecnh, b\u1ea1n s\u1ebd th\u1ea5y c\u00e1c m\u1ee5c ch\u00ednh. H\u00e3y ngh\u0129 node n\u00e0y nh\u01b0 m\u1ed9t &#8220;l\u00e1 th\u01b0&#8221; b\u1ea1n g\u1eedi \u0111\u1ebfn m\u1ed9t d\u1ecbch v\u1ee5 (API) \u0111\u1ec3 l\u1ea5y ho\u1eb7c g\u1eedi th\u00f4ng tin. C\u1ee5 th\u1ec3:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Request Method (Ph\u01b0\u01a1ng th\u1ee9c HTTP):<\/strong><\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\"><\/ol>\n\n\n\n<p>\u0110\u00e2y l\u00e0 &#8220;h\u00e0nh \u0111\u1ed9ng&#8221; b\u1ea1n mu\u1ed1n th\u1ef1c hi\u1ec7n v\u1edbi API, gi\u1ed1ng nh\u01b0 n\u00f3i v\u1edbi d\u1ecbch v\u1ee5 b\u1ea1n mu\u1ed1n l\u00e0m g\u00ec.<\/p>\n\n\n\n<p>C\u00e1c t\u00f9y ch\u1ecdn ph\u1ed5 bi\u1ebfn:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>GET: <\/strong>L\u1ea5y th\u00f4ng tin (nh\u01b0 l\u1ea5y danh s\u00e1ch b\u00e0i vi\u1ebft).<\/li>\n\n\n\n<li><strong>POST: <\/strong>G\u1eedi th\u00f4ng tin \u0111\u1ec3 t\u1ea1o m\u1edbi (nh\u01b0 \u0111\u0103ng b\u00e0i m\u1edbi).<\/li>\n\n\n\n<li><strong>PUT:<\/strong> C\u1eadp nh\u1eadt th\u00f4ng tin c\u0169.<\/li>\n\n\n\n<li>DELETE: X\u00f3a th\u00f4ng tin.<\/li>\n<\/ul>\n\n\n\n<p>H\u00e3y ngh\u0129 nh\u01b0 b\u1ea1n \u0111ang y\u00eau c\u1ea7u: &#8220;Cho t\u00f4i xem&#8221; (GET) ho\u1eb7c &#8220;H\u00e3y th\u00eam c\u00e1i n\u00e0y&#8221; (POST).<\/p>\n\n\n\n<p>V\u00ed d\u1ee5: N\u1ebfu b\u1ea1n mu\u1ed1n xem danh s\u00e1ch ng\u01b0\u1eddi d\u00f9ng t\u1eeb m\u1ed9t trang web, ch\u1ecdn GET.<\/p>\n\n\n\n<p><strong>C\u00e1ch ch\u1ecdn: <\/strong>Ki\u1ec3m tra t\u00e0i li\u1ec7u API c\u1ee7a d\u1ecbch v\u1ee5 \u0111\u1ec3 bi\u1ebft d\u00f9ng ph\u01b0\u01a1ng th\u1ee9c n\u00e0o. Th\u01b0\u1eddng m\u1eb7c \u0111\u1ecbnh l\u00e0 GET.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>URL<\/strong><\/li>\n<\/ul>\n\n\n\n<p>\u0110\u00e2y l\u00e0 &#8220;\u0111\u1ecba ch\u1ec9&#8221; c\u1ee7a API, n\u01a1i b\u1ea1n g\u1eedi &#8220;l\u00e1 th\u01b0&#8221; \u0111\u1ebfn.<\/p>\n\n\n\n<p>Gi\u1ed1ng nh\u01b0 b\u1ea1n nh\u1eadp \u0111\u1ecba ch\u1ec9 nh\u00e0 c\u1ee7a m\u1ed9t ng\u01b0\u1eddi tr\u00ean Google Maps. \u0110\u1ecba ch\u1ec9 n\u00e0y ph\u1ea3i ch\u00ednh x\u00e1c \u0111\u1ec3 &#8220;l\u00e1 th\u01b0&#8221; \u0111\u1ebfn \u0111\u00fang n\u01a1i.<\/p>\n\n\n\n<p>L\u01b0u \u00fd:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>URL th\u01b0\u1eddng b\u1eaft \u0111\u1ea7u b\u1eb1ng http:\/\/ ho\u1eb7c https:\/\/.<\/li>\n\n\n\n<li>C\u00f3 th\u1ec3 th\u00eam th\u00f4ng tin b\u1ed5 sung v\u00e0o URL (nh\u01b0 ?id=1 \u0111\u1ec3 l\u1ecdc d\u1eef li\u1ec7u).<\/li>\n\n\n\n<li>B\u1ea1n c\u00f3 th\u1ec3 d\u00f9ng gi\u00e1 tr\u1ecb t\u1eeb node kh\u00e1c, v\u00ed d\u1ee5: {{ $node[&#8220;Trigger&#8221;].json[&#8220;url&#8221;] }}.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"700\" height=\"375\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-5.png\" alt=\"C\u1ea5u h\u00ecnh c\u01a1 b\u1ea3n c\u1ee7a node HTTP Request trong n8n\" class=\"wp-image-105003\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-5.png 700w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-5-300x161.png 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption class=\"wp-element-caption\"><strong>C\u1ea5u h\u00ecnh c\u01a1 b\u1ea3n c\u1ee7a node HTTP Request trong n8n<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Authentication (X\u00e1c th\u1ef1c)<\/strong><\/li>\n<\/ul>\n\n\n\n<p>\u0110\u00e2y l\u00e0 &#8220;ch\u00eca kh\u00f3a&#8221; \u0111\u1ec3 m\u1edf c\u1eeda v\u00e0o d\u1ecbch v\u1ee5, ch\u1ee9ng minh b\u1ea1n \u0111\u01b0\u1ee3c ph\u00e9p s\u1eed d\u1ee5ng API.<\/p>\n\n\n\n<p>T\u00f9y ch\u1ecdn:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>None: <\/strong>Kh\u00f4ng c\u1ea7n ch\u00eca kh\u00f3a (cho API mi\u1ec5n ph\u00ed, c\u00f4ng khai).<\/li>\n\n\n\n<li><strong>Generic Credential Type: <\/strong>D\u00f9ng &#8220;ch\u00eca kh\u00f3a&#8221; (API key, token) b\u1ea1n \u0111\u00e3 l\u01b0u trong n8n.<\/li>\n\n\n\n<li><strong>OAuth2: <\/strong>\u0110\u0103ng nh\u1eadp qua t\u00e0i kho\u1ea3n (nh\u01b0 Google, Slack).<\/li>\n\n\n\n<li><strong>Header\/Basic Auth: <\/strong>Nh\u1eadp th\u00f4ng tin tr\u1ef1c ti\u1ebfp (\u00edt d\u00f9ng h\u01a1n).<\/li>\n<\/ul>\n\n\n\n<p>V\u00ed d\u1ee5: N\u1ebfu d\u00f9ng API th\u1eddi ti\u1ebft (OpenWeatherMap), b\u1ea1n c\u1ea7n API key (ch\u00eca kh\u00f3a) \u0111\u1ec3 l\u1ea5y d\u1eef li\u1ec7u.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong> Headers<\/strong><\/li>\n<\/ol>\n\n\n\n<p>\u0110\u00e2y l\u00e0 th\u00f4ng tin b\u1ed5 sung g\u1eedi k\u00e8m &#8220;l\u00e1 th\u01b0&#8221;, nh\u01b0 ghi ch\u00fa \u0111\u1eb7c bi\u1ec7t \u0111\u1ec3 API hi\u1ec3u y\u00eau c\u1ea7u c\u1ee7a b\u1ea1n.<\/p>\n\n\n\n<p>Gi\u1ed1ng nh\u01b0 b\u1ea1n vi\u1ebft th\u00eam d\u00f2ng &#8220;G\u1eedi g\u1ea5p&#8221; ho\u1eb7c &#8220;Ch\u1ec9 cho ph\u00e9p ng\u01b0\u1eddi n\u00e0y nh\u1eadn&#8221; tr\u00ean phong b\u00ec th\u01b0.<\/p>\n\n\n\n<p>V\u00ed d\u1ee5:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Authorization: <\/strong>Bearer your-token (g\u1eedi token \u0111\u1ec3 x\u00e1c th\u1ef1c).<\/li>\n\n\n\n<li><strong>Content-Type: <\/strong>application\/json (n\u00f3i r\u1eb1ng d\u1eef li\u1ec7u b\u1ea1n g\u1eedi l\u00e0 \u0111\u1ecbnh d\u1ea1ng JSON).<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Query Parameters<\/strong><\/li>\n<\/ul>\n\n\n\n<p>\u0110\u00e2y l\u00e0 c\u00e1c th\u00f4ng tin b\u1ed5 sung \u0111\u1ec3 l\u1ecdc ho\u1eb7c \u0111i\u1ec1u ch\u1ec9nh d\u1eef li\u1ec7u b\u1ea1n mu\u1ed1n l\u1ea5y. Gi\u1ed1ng nh\u01b0 b\u1ea1n h\u1ecfi: &#8220;Cho t\u00f4i danh s\u00e1ch s\u00e1ch, nh\u01b0ng ch\u1ec9 l\u1ea5y s\u00e1ch c\u1ee7a t\u00e1c gi\u1ea3 n\u00e0y&#8221;.<\/p>\n\n\n\n<p>V\u00ed d\u1ee5: V\u1edbi URL https:\/\/jsonplaceholder.typicode.com\/posts, b\u1ea1n c\u00f3 th\u1ec3 th\u00eam userId=1 \u0111\u1ec3 ch\u1ec9 l\u1ea5y b\u00e0i vi\u1ebft c\u1ee7a ng\u01b0\u1eddi d\u00f9ng 1.<\/p>\n\n\n\n<p><strong>L\u01b0u \u00fd: <\/strong>C\u00f3 th\u1ec3 nh\u1eadp tr\u1ef1c ti\u1ebfp v\u00e0o URL (nh\u01b0 ?userId=1), nh\u01b0ng d\u00f9ng tab n\u00e0y d\u1ec5 qu\u1ea3n l\u00fd h\u01a1n.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong> Body<\/strong><\/li>\n<\/ul>\n\n\n\n<p>\u0110\u00e2y l\u00e0 n\u1ed9i dung b\u1ea1n g\u1eedi \u0111i, th\u01b0\u1eddng d\u00f9ng khi t\u1ea1o ho\u1eb7c c\u1eadp nh\u1eadt d\u1eef li\u1ec7u (v\u1edbi POST, PUT, PATCH). T\u01b0\u01a1ng t\u1ef1 nh\u01b0 khi b\u1ea1n \u0111i\u1ec1n th\u00f4ng tin v\u00e0o m\u1ed9t bi\u1ec3u m\u1eabu v\u00e0 g\u1eedi \u0111i.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Options (T\u00f9y ch\u1ecdn b\u1ed5 sung)<\/strong><\/li>\n<\/ul>\n\n\n\n<p>C\u00e1c c\u00e0i \u0111\u1eb7t ph\u1ee5 \u0111\u1ec3 \u0111i\u1ec1u ch\u1ec9nh c\u00e1ch &#8220;l\u00e1 th\u01b0&#8221; \u0111\u01b0\u1ee3c g\u1eedi ho\u1eb7c nh\u1eadn. Gi\u1ed1ng nh\u01b0 b\u1ea1n ch\u1ecdn c\u00e1ch g\u1eedi th\u01b0: &#8220;G\u1eedi nhanh&#8221; ho\u1eb7c &#8220;Nh\u1eadn b\u1eb1ng email&#8221;.<\/p>\n\n\n\n<p>T\u00f9y ch\u1ecdn ph\u1ed5 bi\u1ebfn:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Timeout:<\/strong> Th\u1eddi gian ch\u1edd ph\u1ea3n h\u1ed3i (nh\u01b0 ch\u1edd 30 gi\u00e2y).<\/li>\n\n\n\n<li><strong>Ignore SSL Issues: <\/strong>B\u1ecf qua l\u1ed7i b\u1ea3o m\u1eadt (ch\u1ec9 d\u00f9ng cho th\u1eed nghi\u1ec7m).<\/li>\n\n\n\n<li><strong>Response Format:<\/strong> Ch\u1ecdn ki\u1ec3u d\u1eef li\u1ec7u tr\u1ea3 v\u1ec1 (JSON, Text, File).<\/li>\n<\/ul>\n\n\n\n<p><strong>L\u01b0u \u00fd: <\/strong>Ng\u01b0\u1eddi m\u1edbi th\u01b0\u1eddng kh\u00f4ng c\u1ea7n ch\u1ec9nh, \u0111\u1ec3 m\u1eb7c \u0111\u1ecbnh l\u00e0 \u1ed5n.<\/p>\n\n\n\n<h3 id=\"C\u00e1ch_th\u00eam_API_v\u00e0o_n8n_th\u00f4ng_qua_node_HTTP_Request\"><a id=\"post-104998-_471840aic5ux\"><\/a><strong>C\u00e1ch th\u00eam API v\u00e0o n8n th\u00f4ng qua node HTTP Request<\/strong><\/h3>\n\n\n\n<p><em>Trong b\u00e0i vi\u1ebft n\u00e0y, Tino s\u1ebd l\u1ea5y v\u00ed d\u1ee5 t\u00ecm h\u00ecnh \u1ea3nh mi\u1ec5n ph\u00ed t\u1eeb Pexels API \u0111\u1ec3 minh h\u1ecda cho c\u00e1ch th\u00eam API v\u00e0o n8n th\u00f4ng qua node HTTP Request.<\/em><\/p>\n\n\n\n<p><strong>M\u1ee5c ti\u00eau: <\/strong>T\u00ecm ki\u1ebfm \u1ea3nh li\u00ean quan \u0111\u1ebfn t\u1eeb kh\u00f3a \u201ccoffee\u201d t\u1eeb th\u01b0 vi\u1ec7n \u1ea3nh mi\u1ec5n ph\u00ed c\u1ee7a Pexels.com.<\/p>\n\n\n\n<p><strong>B\u01b0\u1edbc 1:<\/strong> \u0110\u0103ng k\u00fd t\u00e0i kho\u1ea3n v\u00e0 l\u1ea5y API Key Pexels<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Truy c\u1eadp: <a href=\"https:\/\/www.pexels.com\/api\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">https:\/\/www.pexels.com\/api\/<\/a><\/li>\n\n\n\n<li>\u0110\u0103ng nh\u1eadp ho\u1eb7c t\u1ea1o t\u00e0i kho\u1ea3n m\u1edbi<\/li>\n\n\n\n<li>Ch\u1ecdn m\u1ee5c \u201c<strong>Your API Key<\/strong>\u201d \u2192 Nh\u1eadp th\u00f4ng tin theo y\u00eau c\u1ea7u \u0111\u1ec3 l\u1ea5y API Key c\u1ee7a b\u1ea1n.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"965\" height=\"584\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-6.png\" alt=\"C\u00e1ch th\u00eam API v\u00e0o n8n th\u00f4ng qua node HTTP Request\" class=\"wp-image-105004\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-6.png 965w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-6-300x182.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-6-768x465.png 768w\" sizes=\"(max-width: 965px) 100vw, 965px\" \/><figcaption class=\"wp-element-caption\"><strong>C\u00e1ch th\u00eam API v\u00e0o n8n th\u00f4ng qua node HTTP Request<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"1270\" height=\"711\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-7.png\" alt=\"C\u00e1ch th\u00eam API v\u00e0o n8n th\u00f4ng qua node HTTP Request\" class=\"wp-image-105005\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-7.png 1270w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-7-300x168.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-7-1024x573.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-7-768x430.png 768w\" sizes=\"(max-width: 1270px) 100vw, 1270px\" \/><figcaption class=\"wp-element-caption\"><strong>C\u00e1ch th\u00eam API v\u00e0o n8n th\u00f4ng qua node HTTP Request<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p><strong>B\u01b0\u1edbc 2:<\/strong> M\u1edf workflow \u2192 Th\u00eam node <strong>HTTP Request. <\/strong> <\/p>\n\n\n\n<p>Ph\u1ea7n c\u1ea5u h\u00ecnh node HTTP Request xu\u1ea5t hi\u1ec7n.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"1076\" height=\"872\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-8.png\" alt=\"C\u00e1ch th\u00eam API v\u00e0o n8n th\u00f4ng qua node HTTP Request\" class=\"wp-image-105006\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-8.png 1076w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-8-300x243.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-8-1024x830.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-8-768x622.png 768w\" sizes=\"(max-width: 1076px) 100vw, 1076px\" \/><figcaption class=\"wp-element-caption\"><strong>C\u00e1ch th\u00eam API v\u00e0o n8n th\u00f4ng qua node HTTP Request<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p><strong>L\u01b0u \u00fd:<\/strong> B\u00e0i vi\u1ebft ch\u1ec9 h\u01b0\u1edbng d\u1eabn c\u1ea5u h\u00ecnh node HTTP Request \u0111\u1ec3 th\u00eam API. Tr\u01b0\u1edbc node n\u00e0y c\u00f3 th\u1ec3 l\u00e0 c\u00e1c node nh\u01b0:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"966\" height=\"439\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-9.png\" alt=\"C\u00e1ch th\u00eam API v\u00e0o n8n th\u00f4ng qua node HTTP Request\" class=\"wp-image-105007\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-9.png 966w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-9-300x136.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-9-768x349.png 768w\" sizes=\"(max-width: 966px) 100vw, 966px\" \/><figcaption class=\"wp-element-caption\"><strong>C\u00e1ch th\u00eam API v\u00e0o n8n th\u00f4ng qua node HTTP Request<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p><strong>B\u01b0\u1edbc 3:<\/strong> Quay l\u1ea1i trang Pexels API, b\u1ea1n ch\u1ecdn m\u1ee5c <strong>Documentation.<\/strong><\/p>\n\n\n\n<p>Gi\u1ea3 s\u1eed b\u1ea1n mu\u1ed1n t\u00ecm ki\u1ebfm h\u00ecnh \u1ea3nh tr\u00ean Pexels, b\u1ea1n v\u00e0o ph\u1ea7n \u201c<strong>Search Photos<\/strong>\u201d c\u1ee7a t\u00e0i li\u1ec7u v\u00e0 th\u1ea5y <strong>Endpoint URL<\/strong> nh\u01b0 sau:<\/p>\n\n\n\n<p><strong>GET https:\/\/api.pexels.com\/v1\/search<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"1110\" height=\"672\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-10.png\" alt=\"C\u00e1ch th\u00eam API v\u00e0o n8n th\u00f4ng qua node HTTP Request\" class=\"wp-image-105008\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-10.png 1110w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-10-300x182.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-10-1024x620.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-10-768x465.png 768w\" sizes=\"(max-width: 1110px) 100vw, 1110px\" \/><figcaption class=\"wp-element-caption\"><strong>C\u00e1ch th\u00eam API v\u00e0o n8n th\u00f4ng qua node HTTP Request<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p>\u0110\u00e2y l\u00e0 \u0111\u1ecba ch\u1ec9 API b\u1ea1n c\u1ea7n d\u00f9ng \u0111\u1ec3 t\u00ecm \u1ea3nh theo t\u1eeb kh\u00f3a.<\/p>\n\n\n\n<p>Trong node HTTP Request, b\u1ea1n ch\u1ecdn:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>HTTP Method:<\/strong> GET<\/li>\n\n\n\n<li><strong>Nh\u1eadp URL (v\u00ed d\u1ee5): <\/strong><a href=\"https:\/\/api.pexels.com\/v1\/search?query=coffee&amp;per_page=3\" rel=\"nofollow noopener\" target=\"_blank\">https:\/\/api.pexels.com\/v1\/search?query=coffee&amp;per_page=3<\/a><\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"925\" height=\"527\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-11.png\" alt=\"C\u00e1ch th\u00eam API v\u00e0o n8n th\u00f4ng qua node HTTP Request\" class=\"wp-image-105009\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-11.png 925w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-11-300x171.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-11-768x438.png 768w\" sizes=\"(max-width: 925px) 100vw, 925px\" \/><figcaption class=\"wp-element-caption\"><strong>C\u00e1ch th\u00eam API v\u00e0o n8n th\u00f4ng qua node HTTP Request<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p>\ud83d\udccc <strong>query v\u00e0 per_page<\/strong> l\u00e0 c\u00e1c Query Parameters b\u1ea1n c\u00f3 th\u1ec3 thay \u0111\u1ed5i. Tham kh\u1ea3o b\u01b0\u1edbc 5.<\/p>\n\n\n\n<p><strong>B\u01b0\u1edbc 4: <\/strong>Pexels y\u00eau c\u1ea7u cung c\u1ea5p Authorization v\u00e0o m\u1ee5c <strong>Header<\/strong>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"751\" height=\"430\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-12.png\" alt=\"C\u00e1ch th\u00eam API v\u00e0o n8n th\u00f4ng qua node HTTP Request\" class=\"wp-image-105010\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-12.png 751w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-12-300x172.png 300w\" sizes=\"(max-width: 751px) 100vw, 751px\" \/><figcaption class=\"wp-element-caption\"><strong>C\u00e1ch th\u00eam API v\u00e0o n8n th\u00f4ng qua node HTTP Request<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p>B\u1ea1n b\u1eadt n\u00fat <strong>Send Header<\/strong> l\u00ean.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>T\u1ea1i m\u1ee5c<strong> Name<\/strong> -&gt; nh\u1eadp <strong>Authorization<\/strong><\/li>\n\n\n\n<li>T\u1ea1i m\u1ee5c<strong> Value<\/strong> -&gt; nh\u1eadp <strong>Key API <\/strong>\u0111\u00e3 copy \u1edf b\u01b0\u1edbc 1<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"877\" height=\"530\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-13.png\" alt=\"C\u00e1ch th\u00eam API v\u00e0o n8n th\u00f4ng qua node HTTP Request\" class=\"wp-image-105011\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-13.png 877w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-13-300x181.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-13-768x464.png 768w\" sizes=\"(max-width: 877px) 100vw, 877px\" \/><figcaption class=\"wp-element-caption\"><strong>C\u00e1ch th\u00eam API v\u00e0o n8n th\u00f4ng qua node HTTP Request<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p><strong>B\u01b0\u1edbc 5: <\/strong>T\u00f9y ch\u1ec9nh <strong>Query Parameters<\/strong> \u2013 c\u00e1c tham s\u1ed1 truy\u1ec1n tr\u00ean URL<\/p>\n\n\n\n<p>Pexels h\u1ed7 tr\u1ee3 c\u00e1c tham s\u1ed1 nh\u01b0:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"955\" height=\"387\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-14.png\" alt=\"C\u00e1ch th\u00eam API v\u00e0o n8n th\u00f4ng qua node HTTP Request\" class=\"wp-image-105012\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-14.png 955w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-14-300x122.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-14-768x311.png 768w\" sizes=\"(max-width: 955px) 100vw, 955px\" \/><figcaption class=\"wp-element-caption\"><strong>C\u00e1ch th\u00eam API v\u00e0o n8n th\u00f4ng qua node HTTP Request<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p>B\u1ea1n c\u00f3 th\u1ec3 vi\u1ebft l\u1ea1i URL v\u1edbi c\u00e1c Query Parameters nh\u01b0 sau (v\u00ed d\u1ee5):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>https:&#47;&#47;api.pexels.com\/v1\/search?query=coffee&amp;per_page=3&amp;orientation=landscape<\/code><\/pre>\n\n\n\n<p><strong>\u00dd ngh\u0129a c\u1ee7a URL n\u00e0y: <\/strong><em>T\u1eeb kh\u00f3a t\u00ecm ki\u1ebfm l\u00e0 &#8220;coffee&#8221;, gi\u1edbi h\u1ea1n k\u1ebft qu\u1ea3 tr\u1ea3 v\u1ec1 l\u00e0 3 \u1ea3nh v\u00e0 ch\u1ec9 l\u1ea5y \u1ea3nh n\u1eb1m ngang.<\/em><\/p>\n\n\n\n<p><strong>B\u01b0\u1edbc 6: <\/strong>Nh\u1ea5n <strong>Test step <\/strong>\u0111\u1ec3 ki\u1ec3m tra:<\/p>\n\n\n\n<p>Pexels tr\u1ea3 d\u1eef li\u1ec7u \u1edf 3 d\u1ea1ng l\u00e0 JSON, Table v\u00e0 Schema. B\u1ea1n ch\u1ecdn m\u1ee5c<strong> JSON<\/strong> r\u1ed3i nh\u1ea5p v\u00e0o t\u1eebng h\u00ecnh v\u00e0 copy \u0111\u01b0\u1eddng d\u1eabn \u1edf ph\u1ea7n URL \u0111\u1ec3 ki\u1ec3m tra tr\u00ean tr\u00ecnh duy\u1ec7t.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"1447\" height=\"804\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-15.png\" alt=\"C\u00e1ch th\u00eam API v\u00e0o n8n th\u00f4ng qua node HTTP Request\" class=\"wp-image-105013\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-15.png 1447w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-15-300x167.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-15-1024x569.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-15-768x427.png 768w\" sizes=\"(max-width: 1447px) 100vw, 1447px\" \/><figcaption class=\"wp-element-caption\"><strong>C\u00e1ch th\u00eam API v\u00e0o n8n th\u00f4ng qua node HTTP Request<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"1336\" height=\"769\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-16.png\" alt=\"C\u00e1ch th\u00eam API v\u00e0o n8n th\u00f4ng qua node HTTP Request\" class=\"wp-image-105014\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-16.png 1336w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-16-300x173.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-16-1024x589.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-16-768x442.png 768w\" sizes=\"(max-width: 1336px) 100vw, 1336px\" \/><figcaption class=\"wp-element-caption\"><strong>C\u00e1ch th\u00eam API v\u00e0o n8n th\u00f4ng qua node HTTP Request<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p><strong>B\u01b0\u1edbc 7: <\/strong>S\u1eed d\u1ee5ng d\u1eef li\u1ec7u \u0111\u1ec3 t\u1ef1 \u0111\u1ed9ng h\u00f3a<\/p>\n\n\n\n<p>D\u01b0\u1edbi \u0111\u00e2y l\u00e0 v\u00e0i v\u00ed d\u1ee5 th\u1ef1c t\u1ebf b\u1ea1n c\u00f3 th\u1ec3 l\u00e0m sau khi l\u1ea5y \u0111\u01b0\u1ee3c d\u1eef li\u1ec7u t\u1eeb HTTP Request:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"902\" height=\"443\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-17.png\" alt=\"C\u00e1ch th\u00eam API v\u00e0o n8n th\u00f4ng qua node HTTP Request\" class=\"wp-image-105015\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-17.png 902w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-17-300x147.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-17-768x377.png 768w\" sizes=\"(max-width: 902px) 100vw, 902px\" \/><figcaption class=\"wp-element-caption\"><strong>C\u00e1ch th\u00eam API v\u00e0o n8n th\u00f4ng qua node HTTP Request<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<h3 id=\"Ph\u00e2n_bi\u1ec7t_gi\u1eefa_x\u00e1c_th\u1ef1c_Credential_v\u00e0_th\u00eam_API_ngo\u00e0i_qua_HTTP_Request\"><a id=\"post-104998-_j26aokqbst0j\"><\/a><strong>Ph\u00e2n bi\u1ec7t gi\u1eefa x\u00e1c th\u1ef1c Credential v\u00e0 th\u00eam API ngo\u00e0i qua HTTP Request<\/strong><\/h3>\n\n\n\n<h4 id=\"X\u00e1c_th\u1ef1c_Credential_trong_n8n_l\u00e0_g\u00ec?\"><a id=\"post-104998-_rqy60o6rytis\"><\/a>X\u00e1c th\u1ef1c Credential trong n8n l\u00e0 g\u00ec?<\/h4>\n\n\n\n<p>Trong n8n, Credential l\u00e0 ph\u1ea7n th\u00f4ng tin x\u00e1c th\u1ef1c (authentication) gi\u00fap b\u1ea1n k\u1ebft n\u1ed1i an to\u00e0n \u0111\u1ebfn c\u00e1c d\u1ecbch v\u1ee5 b\u00ean ngo\u00e0i nh\u01b0 Google, Facebook, Slack, Telegram,\u2026 Khi b\u1ea1n d\u00f9ng m\u1ed9t node \u0111\u1ec3 k\u1ebft n\u1ed1i \u0111\u1ebfn API, n8n s\u1ebd s\u1eed d\u1ee5ng Credential \u0111\u1ec3 ch\u1ee9ng minh r\u1eb1ng b\u1ea1n c\u00f3 quy\u1ec1n truy c\u1eadp v\u00e0o d\u1ecbch v\u1ee5 \u0111\u00f3.<\/p>\n\n\n\n<p>Credentials \u0111\u01b0\u1ee3c qu\u1ea3n l\u00fd t\u1eadp trung trong ph\u1ea7n Credentials c\u1ee7a giao di\u1ec7n, cho ph\u00e9p b\u1ea1n t\u00e1i s\u1eed d\u1ee5ng th\u00f4ng tin x\u00e1c th\u1ef1c cho nhi\u1ec1u node v\u00e0 workflow m\u00e0 kh\u00f4ng c\u1ea7n nh\u1eadp l\u1ea1i m\u1ed7i l\u1ea7n.<\/p>\n\n\n\n<p>V\u00ed d\u1ee5, b\u1ea1n c\u00f3 th\u1ec3 t\u1ea1o m\u1ed9t Credential cho Google Sheets v\u1edbi API key ho\u1eb7c OAuth token, sau \u0111\u00f3 s\u1eed d\u1ee5ng Credential n\u00e0y cho t\u1ea5t c\u1ea3 c\u00e1c node li\u00ean quan \u0111\u1ebfn Google Sheets trong c\u00e1c workflow kh\u00e1c nhau.<\/p>\n\n\n\n<h4 id=\"X\u00e1c_th\u1ef1c_Credential_v\u00e0_th\u00eam_API_b\u1eb1ng_HTTP_Request_c\u00f3_gi\u1ed1ng_nhau_kh\u00f4ng?\"><a id=\"post-104998-_lkghav9mwjwc\"><\/a>X\u00e1c th\u1ef1c Credential v\u00e0 th\u00eam API b\u1eb1ng HTTP Request c\u00f3 gi\u1ed1ng nhau kh\u00f4ng?<\/h4>\n\n\n\n<p><strong>Khi n\u00e0o c\u1ea7n d\u00f9ng node HTTP Request?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>n8n kh\u00f4ng c\u00f3 s\u1eb5n node cho d\u1ecbch v\u1ee5 b\u1ea1n d\u00f9ng. V\u00ed d\u1ee5: B\u1ea1n mu\u1ed1n g\u1ecdi m\u1ed9t API ri\u00eang ho\u1eb7c d\u1ecbch v\u1ee5 \u00edt ph\u1ed5 bi\u1ebfn. Khi \u0111\u00f3, b\u1ea1n ph\u1ea3i d\u00f9ng HTTP Request \u0111\u1ec3 t\u1ef1 c\u1ea5u h\u00ecnh URL, ph\u01b0\u01a1ng th\u1ee9c, header, body,\u2026<\/li>\n\n\n\n<li>B\u1ea1n c\u1ea7n t\u00f9y ch\u1ec9nh ph\u1ee9c t\u1ea1p m\u00e0 node ch\u00ednh th\u1ee9c kh\u00f4ng h\u1ed7 tr\u1ee3. V\u00ed d\u1ee5: G\u1ecdi c\u00e1c endpoint \u0111\u1eb7c bi\u1ec7t kh\u00f4ng c\u00f3 trong node m\u1eb7c \u0111\u1ecbnh.<\/li>\n<\/ul>\n\n\n\n<p><strong>Khi n\u00e0o ch\u1ec9 c\u1ea7n x\u00e1c th\u1ef1c Credential (m\u00e0 kh\u00f4ng c\u1ea7n d\u00f9ng HTTP Request)?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>n8n \u0111\u00e3 c\u00f3 s\u1eb5n node t\u00edch h\u1ee3p v\u1edbi d\u1ecbch v\u1ee5 b\u1ea1n d\u00f9ng. C\u00e1c node n\u00e0y y\u00eau c\u1ea7u b\u1ea1n ch\u1ecdn Credential (OAuth2, API Key, ho\u1eb7c HTTP Auth) \u2192 n8n s\u1ebd lo ph\u1ea7n c\u00f2n l\u1ea1i.<\/li>\n\n\n\n<li>Kh\u00f4ng c\u1ea7n t\u1ef1 g\u00f5 URL, Header, Body,\u2026\u2192 V\u00ec node \u0111\u00f3 \u0111\u00e3 c\u1ea5u h\u00ecnh s\u1eb5n. Credential ch\u1ec9 gi\u00fap n8n \u201ck\u1ebft n\u1ed1i th\u00e0nh c\u00f4ng\u201d v\u1edbi d\u1ecbch v\u1ee5.<\/li>\n<\/ul>\n\n\n\n<p>B\u1ea3ng so s\u00e1nh nhanh:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"986\" height=\"348\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-18.png\" alt=\"X\u00e1c th\u1ef1c Credential v\u00e0 th\u00eam API b\u1eb1ng HTTP Request c\u00f3 gi\u1ed1ng nhau kh\u00f4ng?\" class=\"wp-image-105016\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-18.png 986w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-18-300x106.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2025\/04\/word-image-104998-18-768x271.png 768w\" sizes=\"(max-width: 986px) 100vw, 986px\" \/><figcaption class=\"wp-element-caption\"><strong>X\u00e1c th\u1ef1c Credential v\u00e0 th\u00eam API b\u1eb1ng HTTP Request c\u00f3 gi\u1ed1ng nhau kh\u00f4ng?<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<h3 id=\"K\u1ebft_lu\u1eadn\"><a id=\"post-104998-_m6qor0nmvl05\"><\/a><strong>K\u1ebft lu\u1eadn<\/strong><\/h3>\n\n\n\n<p>Vi\u1ec7c th\u00eam API v\u00e0o n8n kh\u00f4ng qu\u00e1 ph\u1ee9c t\u1ea1p n\u1ebfu b\u1ea1n hi\u1ec3u r\u00f5 t\u1eebng b\u01b0\u1edbc v\u00e0 n\u1eafm \u0111\u01b0\u1ee3c c\u00e1c kh\u00e1i ni\u1ec7m c\u01a1 b\u1ea3n. V\u1edbi b\u00e0i h\u01b0\u1edbng d\u1eabn chi ti\u1ebft d\u00e0nh cho ng\u01b0\u1eddi m\u1edbi n\u00e0y, hy v\u1ecdng b\u1ea1n \u0111\u00e3 c\u00f3 th\u1ec3 t\u1ef1 tin h\u01a1n trong vi\u1ec7c t\u1ef1 \u0111\u1ed9ng h\u00f3a c\u00f4ng vi\u1ec7c b\u1eb1ng c\u00e1ch k\u1ebft n\u1ed1i d\u1eef li\u1ec7u t\u1eeb b\u1ea5t k\u1ef3 n\u1ec1n t\u1ea3ng n\u00e0o. Ch\u00fac b\u1ea1n th\u00e0nh c\u00f4ng!<\/p>\n\n\n\n<h2 id=\"Nh\u1eefng_c\u00e2u_h\u1ecfi_th\u01b0\u1eddng_g\u1eb7p\"><a id=\"post-104998-_dppcqt3uogoe\"><\/a>Nh\u1eefng c\u00e2u h\u1ecfi th\u01b0\u1eddng g\u1eb7p<\/h2>\n\n\n\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"L\u00e0m_sao_\u0111\u1ec3_bi\u1ebft_d\u1ecbch_v\u1ee5_c\u00f3_API_hay_kh\u00f4ng?\">L\u00e0m sao \u0111\u1ec3 bi\u1ebft d\u1ecbch v\u1ee5 c\u00f3 API hay kh\u00f4ng?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p>H\u1ea7u h\u1ebft c\u00e1c d\u1ecbch v\u1ee5 l\u1edbn \u0111\u1ec1u c\u00f3 trang t\u00e0i li\u1ec7u API ch\u00ednh th\u1ee9c. B\u1ea1n c\u00f3 th\u1ec3 t\u00ecm v\u1edbi c\u00fa ph\u00e1p:<\/p>\n\n\n\n[d\u1ecbch v\u1ee5] + API documentation<\/p>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"L\u00e0m_sao_ki\u1ec3m_tra_API_\u0111\u00e3_g\u1ecdi_th\u00e0nh_c\u00f4ng_hay_ch\u01b0a?\">L\u00e0m sao ki\u1ec3m tra API \u0111\u00e3 g\u1ecdi th\u00e0nh c\u00f4ng hay ch\u01b0a?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p>Sau khi b\u1ea5m \u201cTest step\u201d, b\u1ea1n xem ph\u1ea7n \u201cOutput\u201d:<\/p>\n\n\n\n<p>N\u1ebfu b\u00e1o l\u1ed7i \u2192 ki\u1ec3m tra l\u1ea1i URL, Header, Authorization.<\/p>\n\n\n\n<p>N\u1ebfu c\u00f3 d\u1eef li\u1ec7u JSON \u2192 API ho\u1ea1t \u0111\u1ed9ng t\u1ed1t.<\/p>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"M\u1ed9t_API_c\u00f3_th\u1ec3_d\u00f9ng_cho_nhi\u1ec1u_node_trong_workflow_kh\u00f4ng?\">M\u1ed9t API c\u00f3 th\u1ec3 d\u00f9ng cho nhi\u1ec1u node trong workflow kh\u00f4ng?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p>Ho\u00e0n to\u00e0n c\u00f3 th\u1ec3! B\u1ea1n c\u00f3 th\u1ec3:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>D\u00f9ng c\u00e1c node kh\u00e1c \u0111\u1ec3 x\u1eed l\u00fd \/ g\u1eedi \u0111i \/ l\u01b0u tr\u1eef \/ l\u1eb7p l\u1ea1i theo nhu c\u1ea7u.<\/li>\n\n\n\n<li>D\u00f9ng 1 node HTTP Request \u0111\u1ec3 l\u1ea5y d\u1eef li\u1ec7u.<\/li>\n<\/ul>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"C\u00f3_c\u1ea7n_bi\u1ebft_l\u1eadp_tr\u00ecnh_\u0111\u1ec3_d\u00f9ng_API_trong_n8n_kh\u00f4ng?\">C\u00f3 c\u1ea7n bi\u1ebft l\u1eadp tr\u00ecnh \u0111\u1ec3 d\u00f9ng API trong n8n kh\u00f4ng?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p>Kh\u00f4ng c\u1ea7n bi\u1ebft l\u1eadp tr\u00ecnh chuy\u00ean s\u00e2u. Nh\u01b0ng b\u1ea1n c\u1ea7n:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Hi\u1ec3u kh\u00e1i ni\u1ec7m c\u01a1 b\u1ea3n nh\u01b0 JSON, Header, URL, ph\u01b0\u01a1ng th\u1ee9c GET\/POST s\u1ebd r\u1ea5t c\u00f3 \u00edch.<\/li>\n\n\n\n<li>Bi\u1ebft c\u00e1ch \u0111\u1ecdc t\u00e0i li\u1ec7u API<\/li>\n<\/ul>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\n<script type=\"application\/ld+json\">\n\t{\n\t\t\"@context\": \"https:\/\/schema.org\",\n\t\t\"@type\": \"FAQPage\",\n\t\t\"mainEntity\": [\n\t\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"L\u00e0m sao \u0111\u1ec3 bi\u1ebft d\u1ecbch v\u1ee5 c\u00f3 API hay kh\u00f4ng?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>H\u1ea7u h\u1ebft c\u00e1c d\u1ecbch v\u1ee5 l\u1edbn \u0111\u1ec1u c\u00f3 trang t\u00e0i li\u1ec7u API ch\u00ednh th\u1ee9c. B\u1ea1n c\u00f3 th\u1ec3 t\u00ecm v\u1edbi c\u00fa ph\u00e1p:<\/p>[d\u1ecbch v\u1ee5] + API documentation<\/p>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t,\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"L\u00e0m sao ki\u1ec3m tra API \u0111\u00e3 g\u1ecdi th\u00e0nh c\u00f4ng hay ch\u01b0a?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>Sau khi b\u1ea5m \u201cTest step\u201d, b\u1ea1n xem ph\u1ea7n \u201cOutput\u201d:<\/p><p>N\u1ebfu b\u00e1o l\u1ed7i \u2192 ki\u1ec3m tra l\u1ea1i URL, Header, Authorization.<\/p><p>N\u1ebfu c\u00f3 d\u1eef li\u1ec7u JSON \u2192 API ho\u1ea1t \u0111\u1ed9ng t\u1ed1t.<\/p>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t,\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"M\u1ed9t API c\u00f3 th\u1ec3 d\u00f9ng cho nhi\u1ec1u node trong workflow kh\u00f4ng?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>Ho\u00e0n to\u00e0n c\u00f3 th\u1ec3! B\u1ea1n c\u00f3 th\u1ec3:<\/p><ul><li>D\u00f9ng c\u00e1c node kh\u00e1c \u0111\u1ec3 x\u1eed l\u00fd \/ g\u1eedi \u0111i \/ l\u01b0u tr\u1eef \/ l\u1eb7p l\u1ea1i theo nhu c\u1ea7u.<\/li><li>D\u00f9ng 1 node HTTP Request \u0111\u1ec3 l\u1ea5y d\u1eef li\u1ec7u.<\/li><\/ul>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t,\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"C\u00f3 c\u1ea7n bi\u1ebft l\u1eadp tr\u00ecnh \u0111\u1ec3 d\u00f9ng API trong n8n kh\u00f4ng?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>Kh\u00f4ng c\u1ea7n bi\u1ebft l\u1eadp tr\u00ecnh chuy\u00ean s\u00e2u. Nh\u01b0ng b\u1ea1n c\u1ea7n:<\/p><ul><li>Hi\u1ec3u kh\u00e1i ni\u1ec7m c\u01a1 b\u1ea3n nh\u01b0 JSON, Header, URL, ph\u01b0\u01a1ng th\u1ee9c GET\/POST s\u1ebd r\u1ea5t c\u00f3 \u00edch.<\/li><li>Bi\u1ebft c\u00e1ch \u0111\u1ecdc t\u00e0i li\u1ec7u API<\/li><\/ul>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t\t\t\t]\n\t}\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>M\u1ed9t trong nh\u1eefng t\u00ednh n\u0103ng quan tr\u1ecdng nh\u1ea5t c\u1ee7a n8n so v\u1edbi c\u00e1c c\u00f4ng c\u1ee5 t\u01b0\u01a1ng t\u1ef1 tr\u00ean th\u1ecb tr\u01b0\u1eddng l\u00e0 kh\u1ea3 n\u0103ng t\u00edch h\u1ee3p API, gi\u00fap b\u1ea1n k\u1ebft n\u1ed1i v\u00e0 t\u01b0\u01a1ng t\u00e1c v\u1edbi c\u00e1c d\u1ecbch v\u1ee5 b\u00ean ngo\u00e0i. Tuy nhi\u00ean, \u0111\u1ed1i v\u1edbi ng\u01b0\u1eddi m\u1edbi, vi\u1ec7c th\u00eam API c\u00f3 th\u1ec3 g\u00e2y kh\u00f3 kh\u0103n n\u1ebfu ch\u01b0a [&hellip;]<\/p>\n","protected":false},"author":23,"featured_media":105025,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7397],"tags":[7343],"class_list":["post-104998","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-n8n","tag-n8n"],"_links":{"self":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts\/104998","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/users\/23"}],"replies":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/comments?post=104998"}],"version-history":[{"count":4,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts\/104998\/revisions"}],"predecessor-version":[{"id":118294,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts\/104998\/revisions\/118294"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/media\/105025"}],"wp:attachment":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/media?parent=104998"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/categories?post=104998"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/tags?post=104998"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}