Web.Get do not return right response

I uploaded a php file to a free server (vastserve.com), the url is:

http://wangsk789.vastserve.com/time.php

this works when I tested in pc browser, and app WebViewer.
but not working with Web.Get

I also tested Web.PostText, same result.
What should I do to make the Web.Get receive the right content?

What does time.php look like?

It looks like it tries to generate an html page, which is what is being returned ?

time.php

<?php  
echo date("Y-m-d H:i:s ");
?>

The Request is redirected.
The response Content is the redirected one.

Check your server settings or documentation
Also what is the content of the redirected page? Just display it in a webviewer to find it out...
Taifun

see the photo of first post.

Yes, I can see the response, but can't read it... can you? Therefore

Taifun

In Webviewer, it will return the Content I wanted. also shown in the photo with lower arrow.

Take the response content from the web got text event and display that in a webviewer, so we are able to read it

Taifun

My guess is, your service provider only allows website hosting and blocks Get and Post requests

From the t&c

We do not allow any kind applications to be hosted here.
Applications such as, proxy scripts, shell scripts, online gaming scripts, file/image sharing scripts, chat scripts, paid-to-surf, auto-surf, buxto, torrent scripts cannot be hosted here. Account will be suspended and you may get a chance to reactivate it. If violation will occur again, account will be closed/ terminated.

Taifun

1 Like

solved by this:

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.