Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Odata service POST method

Former Member
0 Likes
4,335

i'm trying to implement an ODATA service (POST method),

i managed to implement the method on two phases first i get entity then i use the response as a request for the post method,

i need to do it on one step, i have requirements to implement the post method directly, don't use the get method firstly,

how could it be done? is there any way?

i'm trying to implement an ODATA service (POST method),

i managed to implement the method on two phases first i get entity then i use the response as a request for the post method,

i need to do it on one step, i have requirements to implement the post method directly, don't use the get method firstly,

how could it be done? is there any way?

3 REPLIES 3
Read only

ziolkowskib
Active Contributor
0 Likes
4,208

Hi muhamed_nasr,
I'm sorry but I do not understand. Why exactly do you execute GET to get the content for POST? POST corresponds to Creation (CRUD) so if you are able to fetch data using GET it's not Creation but Update and that should be handled using PATCH.
Regards,
Bartosz

Read only

Former Member
0 Likes
4,208

HI ziolkowskib

could you please pass me a tutorial that is doing the POST method on one single step,

i would much appreciate it.

thanks.

Read only

ziolkowskib
Active Contributor
0 Likes
4,208

Please use Comments and not Answers.
Have you read this blog post?
Let’s code CRUDQ and Function Import operations in OData service!
Regards,
Bartosz