是否有这样的设计模式:发送空白表格并完成接收

Is there a design pattern for that : send a blank form and receive it back compeleted

是否有相应的设计模式? 休息微服务接收一个 JSon 数据结构,没有值(但可能是一个 id)和 returns 返回相同的数据,但有空白?示例:

输入:

{
    id: 1546,
    name: ,
    height: ,
    color:
}

输出:

{
    id: 1546,
    name: "Bob",
    height: 40,
    color: "yellow"
}

是的,在异步世界中它被称为 Document Message pattern。这可以很容易地适应同步通信。

在您的情况下,文档从一项服务传递到另一项服务,然后完成发回。更多详情 here.