Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

chrono1081

macrumors G3
Original poster
Jan 26, 2008
8,811
5,741
Isla Nublar
Hi guys,

I'm having a lot of trouble figuring out how to make a post request work and I have a feeling it has to do with our layers of security at work, but I want to make sure my code is correct by trying a post request to a dummy web service.

I know there are tutorial sites that you can do a get to, but I haven't found one that lets you do a post. Does anyone know of such a web service where I could practice on?

Also I'm new to web services and can't seem to find an Apple guide that covers them. If anyone knows which guide may cover web services please let me know. Thank you.
 
Hi guys,

I'm having a lot of trouble figuring out how to make a post request work and I have a feeling it has to do with our layers of security at work, but I want to make sure my code is correct by trying a post request to a dummy web service.

I know there are tutorial sites that you can do a get to, but I haven't found one that lets you do a post. Does anyone know of such a web service where I could practice on?

Also I'm new to web services and can't seem to find an Apple guide that covers them. If anyone knows which guide may cover web services please let me know. Thank you.

Amazon EC2?
 
It's an internal one we have at work. I'm trying to find a public web service somewhere that I can send a Post to to make sure my code works before further troubleshooting.

A web service is just a program running on a server. Install tomcat to your local machine, then find a simple web service and put it on there to test. Then you're not using any 'network' to cause issues.

Here's an example 'Calculator' web service to try. Install this in a directory on your machine that tomcat can see.

http://geronimo.apache.org/GMOxDOC30/developing-a-simple-calculator-web-service.html
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.