Update service_invocation_api.md (#415)

* Update service_invocation_api.md

* Update service_invocation_api.md
This commit is contained in:
Yaron Schneider 2020-03-10 12:15:48 -07:00 committed by GitHub
parent 48b8fe0653
commit e48a4ebb39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -19,9 +19,13 @@ POST/GET/PUT/DELETE http://localhost:<daprPort>/v1.0/invoke/<appId>/method/<meth
### HTTP Response codes ### HTTP Response codes
When a service invokes another service with Dapr, the status code of the called service will be returned to the caller.
If there's a network error or other transient error, Dapr will return a `500` error with the detailed error message.
In case a user invokes Dapr over HTTP to talk to a gRPC enabled service, an error from the called gRPC service will return as `500` and a successful response will return as `200OK`.
Code | Description Code | Description
---- | ----------- ---- | -----------
200 | Request successful
500 | Request failed 500 | Request failed
### URL Parameters ### URL Parameters