Calling webservice from shell script

Hi ,

i am invoking webservice from shell script and it is getting hitting server but unable to get the param values.

here my script like this:
s is variable

s=test

curl --data "param=$s" url

now hittng server , but param is empty.

just i want param value as string even I want for json data for other example