A
A
Alexander Dudin2014-12-08 14:07:47
Server equipment
Alexander Dudin, 2014-12-08 14:07:47

How to send xml request by POST https method in JAVA language?

I know how to send requests with headers, but I can't find how to send xml in JAVA. PHP does not offer, like other languages. Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Budaev, 2017-04-04
@DenPolosin

The problem is that your $xml variable has a boolean type, and you work with it as with an object.
If you provide a more detailed code snippet, it will be possible to understand why this happened.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question