Essay Writing Service
Posts: 0
Joined: Tue Nov 06, 2012 10:39 pm

Empty input field is not really empty.

I found that when I post an empty input field to my php script via REST api, it's not empty, but it's value is the name of my variable.

Any suggestions?

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Empty input field is not really empty.

Hello.

We tried to reproduce the problem.
Please clarify do you use json, xml or x-www-url-form-encoded format?
Do you have Tiggzi proxy checked?

Essay Writing Service
Posts: 0
Joined: Tue Nov 06, 2012 10:39 pm

Empty input field is not really empty.

json, POST
proxy enabled

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Empty input field is not really empty.

Thank you. We are testing.

Essay Writing Service
Posts: 0
Joined: Tue Nov 06, 2012 10:39 pm

Empty input field is not really empty.

Any progress on this?

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Empty input field is not really empty.

We are working on it. I'll update when have news.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Empty input field is not really empty.

Can you post a curl command that works correctly with your service?

Essay Writing Service
Posts: 0
Joined: Tue Nov 06, 2012 10:39 pm

Empty input field is not really empty.

I'm not using curl and I don't know why do you need it. To reproduce the problem you just need to create input field with "submit" button and attach json/post service to it. Then in php script do the following:

$val = json_decode($HTTP_RAW_POST_DATA, true);

echo $val['_test'];

test is the name of your input field in tiggzi. If you post it empty, its value will be 'test', not empty.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Empty input field is not really empty.

Because I need to see a working request against your service.

Essay Writing Service
Posts: 0
Joined: Tue Nov 06, 2012 10:39 pm

Empty input field is not really empty.

the problem is not in my service! my service receives json data with non-empty values from tiggzi ... so, you better reproduce the problem on your server.

Return to “Issues”