XML input string for web api RRS feed

  • Question

  • User-148788041 posted
    I have XML input string.how to call put,get,patch, delete, options and head.

    Can I use httpclient? Or xmlhttpclient?

    Need code
    Thursday, April 18, 2019 4:53 AM

All replies

  • User753101303 posted


    You asked several times. Anything that can send an HTTP request could be enough. HttpClient is likely the preferred option nowadays. Also if the XML is just the representation for an object you could even be more general maybe and never have to deal directly with XML content.

    I suggest to start fiorst with Get and ask later for others, the first point being that GET allows only passing things on the query string and it would be VERY unusual to really pass an XML payload. Whayt your GET method is supposed to do ? Usually you just pass all values using ?a=value1&b=value2 etc...

    Thursday, April 18, 2019 7:33 AM