[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] (ODATA-934) Clarify invoking an action with no parameters
[ https://issues.oasis-open.org/browse/ODATA-934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ralf Handl updated ODATA-934: ----------------------------- Proposal: Clarify that (although a service may support no content), clients invoke an action with no non-binding parameters by passing an empty json object in the body of the request. (was: larify that (although a service may support no content), clients invoke an action with no non-binding parameters by passing an empty json object in the body of the request.) We could allow omitting the request body in this case. > Clarify invoking an action with no parameters > --------------------------------------------- > > Key: ODATA-934 > URL: https://issues.oasis-open.org/browse/ODATA-934 > Project: OASIS Open Data Protocol (OData) TC > Issue Type: Bug > Components: OData JSON Format > Affects Versions: V4.0_ERRATA02 > Environment: Proposed > Reporter: Michael Pizzo > Fix For: V4.0_ERRATA03 > > > We currently say that parameters to an action are passed in the body of a json request as a json object where each parameter is a property of the object. > I recently had someone ask how they should invoke an action request with no (non-binding) parameters. In particular, they were wondering if they should just pass no content (as opposed to content containing an empty json object). -- This message was sent by Atlassian JIRA (v6.2.2#6258)
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]