Set up and test PyWPS using “curl”

Install curl to test the service from terminal.

sudo aptitude install libcurl3

# Here are some example requests (from terminal):

 curl "http://localhost/pywps/pywps.cgi?service=wps&version=1.0.0&request=getcapabilities"
 curl "http://localhost/pywps/pywps.cgi?service=wps&version=1.0.0&request=describeprocess
                                       &identifier=dummyprocess"
 curl "http://localhost/pywps/pywps.cgi?service=wps&version=1.0.0&request=execute
                                       &identifier=dummyprocess&datainputs=\[input1=10;input2=10\]"
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s