Skip to content
This repository has been archived by the owner on Sep 21, 2024. It is now read-only.

Is there an action_handler example to show how to handle an action under POST request? #10

Open
hitwhzhongqiu opened this issue Aug 23, 2015 · 0 comments

Comments

@hitwhzhongqiu
Copy link

  Under the e2e_service project,there is an example to handle create.And I'm interested in how an action under POST request will be proceed.How to fetch the parameter from the request_msg body,and then validate the parameters?If this is a GET request,this work would be done in the odata_path_parser::try_bind_as_operation when parsing the uri.But POST request is different,its parameters are fetched from request body.If we still use odata_uri_parser::parse_uri to proceed the POST url,the process will be blocked in try_bind_as_operation when fetching parameters from uri,because there is no parameter message in url at all when this is a POST request.
 Coule you please upload the code for action_handler?Or share some ideas about it?My email address is [email protected] .Thanks a lot.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant