Skip to content

Commit

Permalink
Update README and proxies.xml to replace target API configuration wit…
Browse files Browse the repository at this point in the history
…h return directive
  • Loading branch information
christiangoerdes committed Sep 5, 2024
1 parent c779ad3 commit 18bea23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ This configuration sets up an API that replaces the value of the `name` field un
```xml
<api port="2000">
<replace jsonPath="$.user.name" with="Bob" />
<target host="localhost" port="3000" />
<return />
</api>
```
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,7 @@

<api port="2000">
<replace jsonPath="$.user.name" with="Bob" />
<target host="localhost" port="3000" />
</api>

<api port="3000">
<log headerOnly="false"/>
<return statusCode="200"/>
<return />
</api>

</router>
Expand Down

0 comments on commit 18bea23

Please sign in to comment.