0

I am using hyperledger fabric services via golang with the shim package.

It has GetState, PutState, DelState. Get is used to retrieve a data linked to a key. Put is used to create/update the body of a data linked to a key

I want to ask, how will I use the PATCH REST API for the same?

Jonathan Hall
  • 75,165
  • 16
  • 143
  • 189
Parth Rathod
  • 71
  • 1
  • 4

1 Answers1

0

There is no PATCH-like verb for making a partial update for the value of a key ... it is all or nothing.

Gari Singh
  • 11,418
  • 2
  • 18
  • 41