cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

RAP - function payload from body

akuller
Participant
0 Kudos
465

Hi all,

 

We have a complex object which we want to pass to a RAP static function. This should then return data to us. The object has no fixed size and is deep. Passing all parameters in the URL is therefore not the best way.


At the moment we are using an action, but the csrf token is sometimes very time-consuming and we want to avoid that.

In .net there is the possibility to pack the payload into the body: https://github.com/xuzhg/WebApiSample/blob/main/v8.x/FunctionTest/readme.md#2-use-the-request-body-d...
Is there something similar in RAP?

Accepted Solutions (0)

Answers (0)