Skip to content

Commit

Permalink
Update README.md after review
Browse files Browse the repository at this point in the history
Co-authored-by: Pascal Christoph <[email protected]>
  • Loading branch information
katauber and dr0i authored Sep 4, 2023
1 parent c605e62 commit 975990b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ Run workflows on the web server, passing `data`, `flux`, and `fix` as GET-Parame

## Use Metafacture Playground API

Beside the web application the Metafacture Playground provides a HTTP REST API to process workflows.To process a workflow you need to provide the workflow information as JSON parameters in your POST request.
Beside the web application the Metafacture Playground provides a HTTP API to process workflows. All you need is to provide the workflow information as JSON parameters in your POST request.

```
curl -X POST https://test.metafacture.org/playground/process -H 'Content-Type: application/json' -d '{"data":"1{a: Faust, b {n: Goethe, v: JW}, c: Weimar}\n2{a: Räuber, b {n: Schiller, v: F}, c: Weimar}","flux":"inputFile\n|open-file\n|as-lines\n|decode-formeta\n|fix(transformationFile)\n|encode-xml(rootTag=\"collection\")\n|print\n;","transformation":"move_field(_id, id)\nmove_field(a, title)\npaste(author, b.v, b.n, \"~aus\", c)\nretain(id, title,
Expand Down

0 comments on commit 975990b

Please sign in to comment.