You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@streampipes.apache.org by "cdeom (via GitHub)" <gi...@apache.org> on 2025/01/14 17:44:47 UTC
[D] Adaparter HTTP REST - adding Header option
GitHub user cdeom created a discussion: Adaparter HTTP REST - adding Header option
Currently I'm only able to give some parameters into the url:
https://xxxx.cloud/api/V2/datafetch?api_key=API-KEY&user_id=USER-KEY&datapoint_uuids=xxxxxx
but in more complex endpoints I need to send header information like
curl -X POST "https://xxxx.cloud/api/V2/datafetch" -H "Content-Type: application/json" -H "APIKEY: API-KEY" -H "USERID: USER-KEY" -d '{
"dates": ["now-2Y/Y", "now/Y"],
"sampling": ["day"],
"datapoint_uuids": ["xxxxx"]
}'
and I'm not able to do that, this feature is really useful for most of REST API
GitHub link: https://github.com/apache/streampipes/discussions/3427
----
This is an automatically sent email for dev@streampipes.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@streampipes.apache.org