Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Enterprise Android: Programming Android Database Applications for the Enterprise
This is the forum to discuss the Wrox book Enterprise Android: Programming Android Database Applications for the Enterprise by Zigurd Mednieks, G. Blake Meike, Laird Dornin, Zane Pan; ISBN: 978-1-118-18349-6
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Enterprise Android: Programming Android Database Applications for the Enterprise section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old December 14th, 2014, 05:01 PM
Registered User
Points: 8, Level: 1
Points: 8, Level: 1 Points: 8, Level: 1 Points: 8, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2014
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Page 123 Enterprise Android Contact Transactions using curl

POST command page 123 Windows 7 curl does not work to http://wileycontacts.com:8080. I carefully typed the full POST command top of page 123 and have tested curl command with Google and Amazon successfully. I get "Failed to connect to wileycontacts.com port 8080: timed out". If I enter curl http://wileycontacts.com I get message "301 Moved Permanently". Thoughts on how I get these commands in Chapter 5 to test properly. Did URI or something else change. Thanks

I did download a different version of curl from Cygwin and set up and ran in their command window below

$ curl -X POST -H "Content-Type: application/json" -d '{"firstname":"mike","email":"mlayton@dartmouth.ed u","lastname":"layton","phone":"826-9027"}' http://wileycontacts.com:8080/spring...tacts/Contacts
curl: (7) Failed to connect to wileycontacts.com port 8080: Connection timed out

Same result using Cygwin, any assistance is appreciated.

Last edited by cottonmega; December 14th, 2014 at 06:42 PM..


Similar Threads
Thread Thread Starter Forum Replies Last Post
Android SDK/Android.bat does not find SWT.jar file chaoticandroid BOOK: Professional Android 2 Application Development 1 March 23rd, 2011 06:39 PM
Chapter# 2 - Page 23 what to key in the new Android Project Ahmed75 BOOK: Professional Android 2 Application Development 7 August 29th, 2010 12:19 AM
cURL is resubmitting the page diamondField PHP How-To 1 September 23rd, 2008 04:25 PM
Question about Contact.aspx page lc3035 BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 2 April 23rd, 2008 11:24 AM
Page 123 - Login Box Correction xumuskiefan BOOK: Professional Crystal Reports for VS.NET 1 February 2nd, 2006 01:06 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.