vyvyan2010 commented on issue #6996:
URL: https://github.com/apache/apisix/issues/6996#issuecomment-1187715374

    ```
           local encoded_data = 
"CA4SDk91dCBvZiBzZXJ2aWNlGlcKKnR5cGUuZ29vZ2xlYXBpcy5jb20vaGVsbG93b3JsZC5FcnJvckRldGFpbBIpCAESHFRoZSBzZXJ2ZXIgaXMgb3V0IG9mIHNlcnZpY2UaB3NlcnZpY2U"
           local decoded_data = ngx_decode_base64(encoded_data)
           local data = pb.decode("ErrorStatus", decoded_data)
           data = data.details[1].value
           local data = pb.decode("ErrorDetail", data)
   ```
   The link you posted corresponds to this code of mine, but the part below can 
be customized
   ```
   repeated google.protobuf.Any details = 3;
   ```
   like I have mentioned: 
https://github.com/apache/apisix/issues/6996#issuecomment-1180516199


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to