Open cd21h opened 6 years ago
Any progress on this?
it would be really useful
Any changes here?
One solution is to use the msgpack-lite to decode the response
Steps
responseBody
is in encoded format, so normally it doesn't help much. So use pm.response.stream
to get the response in a Buffer type which is then used to feed into the decode function of msgpack.Use the decoded response, or use postman console to see the same
pm.test("decode message pack", function() {
eval(postman.getGlobalVariable("msgpack-code"));
var bufferData = pm.response.stream;
var customCodec = msgpack.createCodec();
var response = msgpack.decode(bufferData, { codec: customCodec });
console.log(response); //response is now decoded. Use postman console to see it
});
Any update about this feature?
I'm also wondering about any movement on this?
Ping
up
Pong?
up
ping?
Any updates here?
any news here???
Any update about this feature?
A software supports MessagePack
There's a new software called Apidog that makes working with MessagePack a breeze. It's a visual API tool that handles all the encoding/decoding behind the scenes, turning MessagePack data into human and machine-readable JSON. I gave it a try and found Apidog super beginner-friendly for dealing with MessagePack APIs.
Open Apidog, select an existing API or create a new one. Go to the Body tab and choose "msgpack".
Enter data in JSON format. Apidog will auto-encode it to MsgPack when sending it to the server.
Get the response right away. Apidog decodes the MsgPack data into convenient JSON.
Any way to open source this contribution from the community?
Any way to get Postman or ApiDog to use messagepack in a websocket connection?
Is your feature request related to a problem? Please describe. New feature MsgPack encoding support Msgpack: https://msgpack.org/
Describe the solution you'd like
MsgPack responses
Response should be presented in
See // see https://github.com/msgpack/msgpack/blob/master/spec.md#type-system for type references Also should be an option to save as test
Request
Request should be accepted in: