Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在 http 连接器中构建 http 动态 url 以映射 CloverDX 中 sql 源的值?现在我有 dbread 组件,在表中选择了一列(TAXID 列表),这应该是我的 url 的动态属性/参数...... 我需要使用路径参数 - TAXID 和查询参数 - getdate(今天)构建 url
就像是: GET baseurl/api/search/taxid/{taxid}?date={getdate(today)}
GET baseurl/api/search/taxid/{taxid}?date={getdate(today)}
使用 HTTPConnector 的“输入映射”属性,您可以在其中手动构建 URL(在 $out.0.URL = 'baseurl/api/search/taxid/' + $in.0.taxid + '?date='+ date2str(today (),'yyyy_Mm....')
或者使用“添加输入字段作为参数”,提供带有字段“taxid”和“日期”的记录(带有预填充的日期值),查询将自动构建,在提到的字段中提供值。