Odata

POST operation in sapui5

How to perform a post operation in Odata service from sapui5 mobile application is explained here.x-csrf token handling will be done by the SAPUI5 OData model api.we dont have to worry about that.

Pre-requisites

1.odata service
2.sapui5 library files loaded

 Steps
  1. Instantiate OData model


  2. Create new entry which is to be posted to the service.


  3. Call create method of OData model passing the newly created entry





If you enjoyed this post, I’d be grateful if you’d help it spread by sharing.Thank you! See you soon

0 comments :

Post a Comment

Powered by Blogger.