GitHub user codergirl371 edited a discussion: Issue with Running Async Web 
Service on Apache Hop - JSON Payload & Cross-OS Execution

I've gone through the [Apache Hop async web service documentation 
[](https://hop.apache.org/manual/latest/hop-server/async-web-service.html), but 
I'm still encountering errors.

Also, in the xml payload, from where the <metastore_json> is taken ?


Here’s the curl command I’m using:```

curl -v \
  --user cluster:cluster \
  --request POST \
  -o async-run.json \
  -H "Content-Type: application/json" \
  --data-binary '@document.json' \
  'http://localhost:8282/hop/asyncRun/?service=dataload&MAX=50000000'
```
*ofc I've changed to my configurations

**### Questions:**

1. How should document.json be structured?

        What exact format or content should it have to correctly trigger the 
async web service?

2. Running from a Linux machine while Hop is on a Windows VM:

        If I’m executing the command from a Linux machine but the Hop server is 
hosted on a Windows VM, should the file paths in document.json be in Windows 
format?

3. REST APIs like register/startWorkflow:

        These APIs require an XML payload. What exact format should this XML 
content be in? 

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

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

Reply via email to