on 11-26-2023 7:41 AM
Hi,
I have unbound functions and actions in my service definition and able to successfully run and debug functions
https://port4004-workspaces-ws-xyz.us10.applicationstudio.cloud.sap/xyzxyz/xyzxyz()
however not with action
Action needs post call rather than GET and as such is there a way to run and debug action from BAS ? went through Capire document and couldn't find a way and in the web there are mentions of using form for making post call and using POSTMAN however they aren't triggering the breakpoint (understandable)
How an action implemented in Node.JS CAP is being debugged by you ? what approach are you following ?
Regards,
Vipin.
I would suggest you use the BAS pre-installed Extension REST Client and craft the POST request there. You can find a lot of examples in my sample app:
https://github.com/gregorwolf/bookshop-demo/tree/main/tests/app
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.