I am calling my javaJava webservice (POST request) via POSTMANPostman in the following manner which works perfectly fine (i.e. I can see my records getting inserted into the database):
And, here's how the contents inside the Headers(1)
tab lookslook like:
Instead of calling it via POSTMANPostman, I have to call the same request in PHP using CURLcURL. I am wondering if there's a way to export this command to a curl
command so that I could use it in my PHP code? I have found the opposite approach at many places online where someone is asking to convert Curla curl based request to POSTMANPostman but couldn't figure out how to do the opposite.
Some articles I found this question for curl to postmanPostman: Simulate a specific CURL in PostMan