[
https://issues.apache.org/jira/browse/GEODE-2815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dave Barnes reassigned GEODE-2815:
----------------------------------
Assignee: Dave Barnes
> Incorrect Error Message in REST API docs for {region}/{key} HTTP.GET command
> ----------------------------------------------------------------------------
>
> Key: GEODE-2815
> URL: https://issues.apache.org/jira/browse/GEODE-2815
> Project: Geode
> Issue Type: Bug
> Components: docs
> Affects Versions: 1.1.1, 1.2.0
> Reporter: Michael Martell
> Assignee: Dave Barnes
> Priority: Minor
>
> According to the docs at
> http://gemfire.docs.pivotal.io/geode/rest_apps/get_region_key_data.html error
> responses HTTP 400 and HTTP 404 appear to be very similar,
> # 400 - BAD REQUEST - Returned if the supplied key is not found in the region.
> # 404 - NOT FOUND - Returned if key does not exist for the region.
> The source code at PdxBasedCrudController.java:210 & 213 show that 404
> actually means "Region does not exist", thus the documentation appears to be
> incorrect. Other commands are correct in the docs showing 404 means region
> does not exist.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)