Replace client request Content-Type from application/x-protobuf to something custom.
This issue applies to both web and dart repositories.
The default implementation of Protobuf controllers for some web servers (for example Micronaut) expects bytes when they face Content-Type:application/x-protobuf instead they receive Base64 encoded body that leads to additional configuration issues.
Probably some other Content-Type should be used.
Replace client request
Content-Typefromapplication/x-protobufto something custom.This issue applies to both
webanddartrepositories.The default implementation of
Protobufcontrollers for some web servers (for exampleMicronaut) expectsbyteswhen they faceContent-Type:application/x-protobufinstead they receiveBase64encoded body that leads to additional configuration issues.Probably some other
Content-Typeshould be used.