Android Question httpJob to get information back to me, but the information is wrong and unrelated

zavaree

Active Member
Licensed User
Longtime User
Hi. I'm having trouble on Android, this is when I send a httpJob to get information back to me, but the information is wrong and unrelated. What is it?
 

MarkusR

Well-Known Member
Licensed User
Longtime User
show us the "wrong information".
do u make a get or post request?
if u send a json to web api make sure u set the content type to json in http header.
make sure u use okhttputils2 and not the deprecated one.
 
Upvote 0

zavaree

Active Member
Licensed User
Longtime User
i send data with post to php file. all my job work done but 1 of them work wrong and get back wrong data.
i use php/sql server . tb_g1 & tb_g2 & tb_g3 is my table. when i try get data from select * from tb_g1 this file showing select * from tb_city !!! showing other database table !
 
Upvote 0

zavaree

Active Member
Licensed User
Longtime User
No. i tel all of info last post
when i try call php file in firefox its work fine ! but when i call it from job not working
 
Upvote 0

MarkusR

Well-Known Member
Licensed User
Longtime User
seems u need work at your php and add some logs that you can follow the flow until the page is called and you get the response.

how do you make the request in b4a?
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…