locked
what is format postman is converting string to byte[] RRS feed

  • Question

  • User430178104 posted

    Hi,

    I have a WebAPI, in that i need to pass a image as byte array, this is working fine when in pass the byte[] as string in postman. but in my unit test of my WebAPI is failing i noticed the byte[] length is different than in postman request.

    How to check the what format  postman is converting string to byte[]

    Friday, February 19, 2016 6:00 AM

All replies

  • User36583972 posted

    Hi pathipati,

    From your description of them, I suggest you can debug your program and paste the relevant code to us.

    As far as I know, Postman can pass parameters in the following ways.

    If you would like more information about Postman, you can visit their development blog site at: http: //www.getpostman.com/.

    Best Regards,

    Yohann Lu

    Friday, February 19, 2016 11:16 AM