How can I pass the value of an entity as an empty string instead of null in the request body of an API?

How can I pass the value of an entity as an empty string instead of null in the request body of an API?

1 Like

@Ritik_Dixit please look into it.

1 Like

@Neeraj_Kumar @DebugHorror

  1. Utilize the static function to accomplish this task.

  2. In the “Copy from” tab, pass the static( , string) function, and in the “Copy to” tab pass the entity.

  3. Next, simply pass this entity to your configuration service task.

  4. You’ll notice an empty string being passed in the request body of an entity

2 Likes

@Neeraj_Kumar, If these steps solves your query. Please, mark it as an solution.

What if we have many entities? Inside each entity, many keys are present. So if I follow your solution, it will be too complex.