GitHub user eleonora011 created a discussion: Trigger a pipeline through an API

Good morning,
I wanted to trigger a pipeline through an API call. While reading the 
documentation, I found the following:
"GET http://localhost:8081/hop/startPipeline?name=<NAME>".

When I send the request — obviously setting the correct host and port — I get 
the following error: 400 Bad Request, and:

```
<HEAD>
    <TITLE>Start of pipeline</TITLE>
    <META http-equiv="Refresh" 
content="2;url=pipelineStatus?name=test_pipeline">
    <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link rel="icon" type="image/svg+xml" href="/static/images/favicon.svg">
</HEAD>
 
<BODY>
    <H1>The specified pipeline [test_pipeline] could not be found</H1>
    <a href="status">Back to the status page</a>
    <p>
    <p>
</BODY>
 
</HTML>
```


The pipeline is located at the following path on Apache Hop Web:
"default/hop-workspace/pipelines/" 

GitHub link: https://github.com/apache/hop/discussions/6129

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to