Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

web api invoke return null #14

Open
lxn179208 opened this issue Oct 26, 2011 · 4 comments
Open

web api invoke return null #14

lxn179208 opened this issue Oct 26, 2011 · 4 comments

Comments

@lxn179208
Copy link

using php curl invoke:
$url = "https://123.183.209.87:8443/ContactListService/contacts";
$parameters = "account=[email protected]&password=xxx&type=163";

    $ch = curl_init( );
    curl_setopt( $ch, CURLOPT_SSL_VERIFYPEER, false );
    curl_setopt( $ch, CURLOPT_URL, $url );
    curl_setopt( $ch, CURLOPT_POST, 1 );
    curl_setopt( $ch, CURLOPT_POSTFIELDS, $parameters);
    curl_setopt( $ch, CURLOPT_TIMEOUT, TIMEOUT );
    $contents = curl_exec( $ch );
    curl_close( $ch );
    echo $contents;

but return null ,how to solve?

@lxn179208 lxn179208 reopened this Oct 26, 2011
@flyerhzm
Copy link
Owner

the server is closed, so you can't call the api now

@lxn179208
Copy link
Author

ths,we are using php,how can we take use of your java code?

At 2011-10-26 16:59:23,"Richard Huang" [email protected] wrote:

the server is closed, so you can't call the api now

Reply to this email directly or view it on GitHub:
#14 (comment)

@flyerhzm
Copy link
Owner

you can deploy the java code as a war

@lxn179208
Copy link
Author

To view the message, please use an HTML compatible email viewer!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants