2020 Jul 08 3:21 PM
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?
2020 Jul 08 4:04 PM
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
2020 Jul 09 9:05 AM
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.
2020 Jul 09 9:47 AM
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
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |