Is there any way to send protobuf binary data without using external files as a source of data? Maybe some pre-processing custom script can be used to encode protobuf using provided proto schema and use it as a body in the request? Is it possible? Using external files as a source of body isn’t really convenient especially when you share documentation with someone because it requires them to also get those external files.
Apidog can convert the protobuf data returned by the server into JSON format using the following script:
Well, if it cannot use encoded data as a body, what can we do? Maybe you guys add protobuf support in HTTP requests? That would be awesome!
Currently, HTTP requests do not support protobuf. You can try the provided reference code.
I’ve tried this code and it’s variations, but it doesn’t work, unfortunately.
Thank you for your feedback. We’ve noted the request to add protobuf support for HTTP requests.