Website for testing POST on .PHP

I have an iOS app and I would like to POST to the .php web service from it.

I am currently using this site for testing (and everything works) http://www.htmlcodetutorial.com/cgi-bin/mycgi.pl .

My question is: are there sites like the one I published that are written in .php so that I can test my application with them?

+4
source share
1 answer

As they say, POST is POST, but ... delivery ...

<?php $post = print_r($_POST, TRUE); echo '<pre>', $post, '</pre>'; 

Enjoy.

 http://instagraph.me/post 

Example:

 Array ( [a] => 12345 ) 

Change the comment "does not work":

 curl -A "Mozilla" -da=12345 http://instagraph.me/post Array ( [a] => 12345 ) 

What I would advise you is that you are a "fake" user agent, just adding Mozilla will save you some potential problems.

+2
source

All Articles