Hello everyone,
I am trying to call an unbound action in RAP using CAP.
Based on the documentation I’m trying the send method: https://cap.cloud.sap/docs/node.js/core-services#srv-send-request
..
let a = await remote.send(‘entity/namespace.action’,{parameters})
console.log(a)
…
No matter what I tell him, right or wrong, he always tells me undefined.
When I call the service via rest client, I receive a correct response.
POST dest.dest/path.../entity/namespace.action
Content-Type: application/json
{parameters}
If I try to call an entity, there is no error/the correct answer.
Has anyone managed a call or an idea what I am doing wrong?
Thank you very much.
Best regards.
By the way, has anyone looked at the curiosity of an unbound action under RAP? I thought the service was built incorrectly.