Skip to content

Commit 3b5409e

Browse files
authored
Merge pull request #40 from actinia-org/dummy-echo-process
Add dummy process
2 parents 81caa97 + 4a69fe6 commit 3b5409e

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

tests/resources/request_bodies/README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,15 @@ curl -X POST \
7979
-d @test_elevation_stdout.json ${BASEURL}/processes/elevation_stdout/execution
8080
```
8181

82+
Example for dummy test process with `echo`:
83+
84+
```bash
85+
curl -X POST \
86+
-H 'Content-Type: application/json' -H 'accept: application/json' \
87+
-u ${AUTH} \
88+
-d @test_echo.json ${BASEURL}/processes/echo/execution
89+
```
90+
8291
Example point buffering with **input by reference**:
8392

8493
```bash
@@ -104,4 +113,4 @@ curl -X POST \
104113
-H 'Content-Type: application/json' -H 'accept: application/json' \
105114
-u ${AUTH} \
106115
-d @test_r_neighbors_by_reference.json ${BASEURL}/processes/r.neighbors/execution
107-
```
116+
```
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"inputs" : {
3+
"input" : "teststring"
4+
},
5+
"outputs" : { }
6+
}

0 commit comments

Comments
 (0)