This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Web Services and the fly likes Curl hangs when trying to do a POST on a mysql db Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Curl hangs when trying to do a POST on a mysql db" Watch "Curl hangs when trying to do a POST on a mysql db" New topic
Author

Curl hangs when trying to do a POST on a mysql db

Jack Rooney
Greenhorn

Joined: Dec 04, 2012
Posts: 14
I am using CURL to issue a POST request and sending a JSON to populate a mysql db. The issue it that curl hangs when I issue this command. If I use the RESTClient with firefox, it works perfectly and I can populate the db with the json passed. Its only when I am issuing the CURL that this happens.

If I remove my implementation inside the POST and just do a simple System.Out.Print, this works just fine.

Here is my curl command :


Kindly let me know where I am going wrong.

Thanks, Jack
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Curl hangs when trying to do a POST on a mysql db
 
Similar Threads
How to pass a JSON string to a POST method to populate a mysql db ?
JSON Formatting with Jersey, Jackson, & json.org/java
Java with curl (http://curl.haxx.se/)
Getting HTTP 404 Not Found when issuing POST using curl
Dynamic JSON passing to REST Web service and using it to insert data into mysql db