[🌐KR](<https://synctree-guide.notion.site/Transfer-API-648b3c1f7a0e4aff82a15e93b5eeb88f>)
This document describes how to call an external API using Transfer block.
▶RESTful API Transfer
1) Configure Transfer - Https Protocol Blockset
No. |
Function |
1 |
Configuring the transfer API with Restful method using Protocol > https Block |
- method : http method of external API
- end-point : External API call path
- header, body : Define request header and body data when calling external API |
| 2 | configuring response status code |
| 3 | API result - Containing Transfer result value in res variable |
| 4 | Json Encode - Encoding the transfer result value as JSON and checking the console log as an Info Log block |
| 5 | Checking the Transfer result value by containing it as result variable |
2) Check the result of external API call
🔙 Back to Main Page🗂️
🔝 to Top of This Page