Skip to content

Commit 4f1f729

Browse files
committed
Fix messaging around event endpoint
1 parent 500d5fa commit 4f1f729

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ POST http://localhost:9000/2018-06-01/runtime/init/error
5050
In addition to an endpoint that allows you to stage request events for your runtime to invoke:
5151

5252
```text
53-
POST http://localhost:9000/events/next
53+
POST http://localhost:9000/event/next
5454
```
5555

56-
The runtime will serve events that have been POSTed to the `/events/next` endpoint sequentially each time the `/invocation/next` endpoint is called (or will return an empty response when there is no pending event).
56+
The runtime will serve events that have been POSTed to the `/event/next` endpoint sequentially each time the `/invocation/next` endpoint is called (or will return an empty response when there is no pending event).
5757
Invocation requests will include headers to emulate the Lambda Runtime interface as well, and expects that Request IDs are included with calls to `/response` and `/error` just as the Lambda service would.

src/main/kotlin/com/batchofcode/runtimelocal/handler/RootHandler.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ fun main() {
2121
println("POST init error - http://localhost:$port/2018-06-01/runtime/init/error")
2222
println("-----------------------------------------------------------------------------------")
2323
println("Helper Endpoints:")
24-
println("POST events - http://localhost:$port/events/next")
24+
println("POST event - http://localhost:$port/event/next")
2525
}

0 commit comments

Comments
 (0)