mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02:00
11 lines
307 B
XML
11 lines
307 B
XML
|
<api port="2000">
|
||
|
<rateLimiter requestLimit="3" requestLimitDuration="PT30S"/>
|
||
|
<response>
|
||
|
<javascript>
|
||
|
var body = JSON.stringify({foo: 7, bar: 42});
|
||
|
Response.ok(body).contentType("application/json").build();
|
||
|
</javascript>
|
||
|
</response>
|
||
|
<return/>
|
||
|
</api>
|