How to send file with HttpRequest component? #979
-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
An example of a configuration of sending a file named @prefix req: <http://plugins.linkedpipes.com/ontology/x-httpRequest#> .
<http://localhost/slack> a req:Task ;
req:url "https://hooks.slack.com/services/<insert_token>" ;
req:method "POST" ;
req:postContentAsBody true ;
req:content <http://localhost/slack/content> .
<http://localhost/slack/content> a req:Content ;
req:fileReference "configuration.json" . |
Beta Was this translation helpful? Give feedback.
-
Is the file really called You can check the logs of the execution itself. Also, I can see that your |
Beta Was this translation helpful? Give feedback.
-
See this execution for another working example. Maybe the issue is with the |
Beta Was this translation helpful? Give feedback.
See this execution for another working example. Maybe the issue is with the
multipart/form-data
header?