簡體   English   中英

如何在 twincat 3 中添加有效載荷並使用 post 方法從 API 獲取響應?

[英]How to add payload and use the post method to get response from an API in twincat 3?

enter image description here沒有像我在郵遞員申請中那樣得到適當的回應

我嘗試了一些在線 API 來獲得響應,但我需要一個選項才能在我的程序中添加有效負載。 我正在使用 twincat 庫 repo 中的 tc3 iotbase 庫。

當您調用其中一種發送方法時,HTTP POST 請求負載由FB_IotHttpRequest功能塊構建

您可以在此處使用 2 個選項:

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM