阅读背景:

这是使用Golang从PUT / PATCH中忽略JSON有效负载中不需要的字段的最佳方法吗?

来源:互联网 

I have a situation where people consuming our API will need to do a partial update in my resource. I understand that the HTTP clearly specifies that this is a PATCH operation, even though people on our side are used to send a PUT request for this and that's how the legacy code is built. I have a situation where people consuming our A




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: