php - Coverting cURL to java for



I'm not writing your code for you, or doing your research for you.

But the way to solve a problem like this is to break it down into subproblems. For example:

  • How to send an HTTP request in Java
  • How to send a POST request in Java
  • How to pass something in the request body.
  • How to set the content type
  • How to pass non-standard request headers
  • How to construct JSON
  • How to deal with the response.

People are also looking for solutions to the problem: php - Convert a string to a multidimensional array


Didn't find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.

Ask a Question

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.

Similar questions

Find the answer in similar questions on our website.