How do I post XML to RESTFUL Web Service using Net::HTTP::Post?

后端 未结 2 1972
谎友^
谎友^ 2020-12-15 23:04

I am having trouble getting this to work so any help would be appreciated! Basically, the request.body contains valid XML for the Web Service like so:



        
2条回答
  •  一整个雨季
    2020-12-15 23:32

    Without knowing anything about the service, this is just a guess, but… is the service expecting a specific header that Poster is setting and you aren't?

提交回复
热议问题