locked
Passing Json data and Image to Post Method in WEb APi Controller through fiddler. RRS feed

  • Question

  • User271867911 posted

    How to Pass JSON data and Image to Post Method in WEb API Controller through fiddler together

    Monday, November 27, 2017 2:36 AM

All replies

  • User-335504541 posted

    <g class="gr_ gr_20 gr-alert gr_gramm gr_inline_cards gr_run_anim Punctuation only-ins replaceWithoutSep" id="20" data-gr-id="20">Hi</g> <g class="gr_ gr_18 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling" id="18" data-gr-id="18">farooqspecia</g>,<o:p></o:p>

    <o:p> </o:p>

    The JSON data and image are different data types. The server is unsure which data type of conversion to use if you want to pass them together, 

    I think the best way is using two request methods to pass data respectively.<o:p></o:p>

    <o:p> </o:p>

    Best regards,<o:p></o:p>

    Billy

    Tuesday, November 28, 2017 5:24 AM