Skip to Content
avatar image
-1
Former Member

How to use POST method and test it without having a back-end service available yet?

Hi everyone,

I am creating an app using edmx file because I don't have a back-end service yet. I need to enter new data and edit existing data in the back-end.

How do I use POST method and test the functionalities, while I don't have back-end service available yet?

Thanks in advance :)

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • May 25, 2017 at 01:53 PM

    just code it. there is no dependency to backend.

    Add comment
    10|10000 characters needed characters exceeded

  • May 26, 2017 at 04:53 PM

    you can use the mockserver, there you can test all the crud operations and see the data getting updated in real time.

    The Best part is if you generate the fiori app using the sap webide template all the mockserver code will be generated automatically and you dont need to write any additional code to make the mockserver to work!!!... but few restrictions are there anyway..

    In order to run the app with mockserver you need to create a configuration by right clicking on the project folder and in there you will find a checbox with mockserver, then run the app... It will run now in mockdata mode. If your backend is ready, simply remove the mockdata mode check box.. thats it.. very simple!!.

    Make sure to generate the app using the fiori webide template.. thats the only thing you have to do..

    Best Regards,

    Mahesh

    Add comment
    10|10000 characters needed characters exceeded