File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
examples/celery_http_gateway Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -31,9 +31,10 @@ Then you can use the resulting task-id to get the return value::
31
31
{"task": {"status": "SUCCESS", "result": "pong", "id": "e3a95109-afcd-4e54-a341-16c18fddf64b"}}
32
32
33
33
34
- If you don't want to expose all tasks, you can extend the apply view to only
35
- accept an whitelist for example, or just make views for every task you want to
36
- expose, we made on such view for ping in ``views.ping ``::
34
+ If you don't want to expose all tasks there are a few possible
35
+ approaches. For instance you can extend the ``apply `` view to only
36
+ accept a whitelist. Another possibility is to just make views for every task you want to
37
+ expose. We made on such view for ping in ``views.ping ``::
37
38
38
39
$ curl http://localhost:8000/ping/
39
40
{"ok": "true", "task_id": "383c902c-ba07-436b-b0f3-ea09cc22107c"}
You can’t perform that action at this time.
0 commit comments