This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

Jack Rooney
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic