1. william yau
  2. SnapDevelop
  3. Wednesday, 22 July 2020 08:59 AM UTC

HI Guru

  I followed up the migration materials at

https://docs.appeon.com/powerscriptmigrator2019r2/PB_to_CSharp_Migrating_Re-factored_Business_Logics(NVOs)/index.html

 

 

According to final steps as below. I went to SnapDevelp and  pressed Ctrl + F5 build successfully,

But shows “LOCALHOST PAGE CAN’T BE FOUND”   Is something missing?  Would you give some advice to me.

 William Yau

william yau Accepted Answer Pending Moderation
  1. Thursday, 23 July 2020 02:25 AM UTC
  2. SnapDevelop
  3. # 1

Hi Macro

 

I wait a moment, the screen POP up menu like below, What I can I do next steps

William YaU

 

Comment
  1. Marco Meoni
  2. Thursday, 23 July 2020 10:07 AM UTC
Hi,

follow what I wrote earlier.

If you want to test the API from the Web browser you must use any GET method listed under Order and Product controllers.

Best,

.m
  1. Helpful
There are no comments made yet.
william yau Accepted Answer Pending Moderation
  1. Thursday, 23 July 2020 02:19 AM UTC
  2. SnapDevelop
  3. # 2

hi Macro

 

 I open orderController ->right click -> run test like attached picture, but no any responds , is there any wrong

best regards. and from the script, I can found where specified URL , how can I find the URL in script

William Yau 

 

 

 

 

Comment
There are no comments made yet.
Marco Meoni Accepted Answer Pending Moderation
  1. Wednesday, 22 July 2020 11:02 AM UTC
  2. SnapDevelop
  3. # 3

Hi William,

you must specify the correct controller name in the URL. I see from your screengrab that the service is OrderService, so I guess the controller is OrderController.

Therefore, the URL will change to:

http://localhost:5000/api/order/load

Please also be sure you are calling the right function, i.e. load must be among OrderController's methods.

At any rate, SnapDevelop will definitely create a retrieve method, so this URL should also be ok:

http://localhost:5000/api/order/retrieve

Best way to verify the available REST endpoints is via the builtin whitebox testing tool (open OrderController -> right click -> Run Test(s))

Best,

.m

 

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.