none
Send JSON to web service with Process.Start method in c# application RRS feed

  • Question

  • Hi,

    I submit a JSON to a web service with the following method in my c# application

    I found that URL exceed the maximum URL length in IE because the data length of photo is too long

    Can I send the JSON to the web service like POST method of HTTP request?

    Thanks,
    Tony

    string myJson = "{"Status":"0","Photo","xxxxxxxxxxxx"}";

    Process.Start("IEXPLORE.EXE", "http://mywebservice.com?" + myJson);

    Friday, September 29, 2017 5:24 AM

All replies

  • Hi Tony,

    Welcome to the MSDN forum.

    Refer to your description, your issue is more relates to the ASP.NET development. Since our forum is to discuss the VS IDE, please redirect to this appropriate forum: https://forums.asp.net/ and start a new thread to seek for a more professional support, thank you for your understanding.

    Best regards,

    Sara


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com

    Saturday, September 30, 2017 2:21 AM