Update asynchronous.md

This commit is contained in:
Alex Ellis
2017-11-08 19:07:03 +00:00
committed by GitHub
parent 818c7c47ce
commit 5ebb5ca7dc

View File

@ -61,7 +61,7 @@ $ kubectl -f apply ./faas.async.yml,nats.yml
Functions do not need to be modified to work asynchronously, just use this alternate route: Functions do not need to be modified to work asynchronously, just use this alternate route:
``` ```
$ http://gateway/async-function/{function_name} http://gateway/async-function/{function_name}
``` ```
If you want the function to call another function or a different endpoint when it is finished then pass the `X-Callback-Url` header. This is optional. If you want the function to call another function or a different endpoint when it is finished then pass the `X-Callback-Url` header. This is optional.