PHP Developers Network
http://forums.devnetwork.net/

Help with get request in Json format 2
http://forums.devnetwork.net/viewtopic.php?f=13&t=144979
Page 1 of 1

Author:  sjuaq [ Fri Dec 15, 2017 4:09 pm ]
Post subject:  Help with get request in Json format 2


Author:  requinix [ Fri Dec 15, 2017 4:25 pm ]
Post subject:  Re: Help with get request in Json format 2

myObj.matches is an array, not an object. Use a loop.

Author:  sjuaq [ Sat Dec 16, 2017 6:38 am ]
Post subject:  Re: Help with get request in Json format 2


Author:  requinix [ Sat Dec 16, 2017 7:54 am ]
Post subject:  Re: Help with get request in Json format 2

setRequestHeader() goes after open() and before send(), but otherwise yes.

Author:  sjuaq [ Sat Dec 16, 2017 1:54 pm ]
Post subject:  Re: Help with get request in Json format 2


Author:  requinix [ Sat Dec 16, 2017 6:42 pm ]
Post subject:  Re: Help with get request in Json format 2

1. Your Javascript syntax for a function is wrong.
2. There needs to be a space between the "Basic" and the encoded username and password
3. xmlhttp2 is undefined.
4. You don't seem to be passing or receiving any data.

Author:  sjuaq [ Sat Oct 06, 2018 10:36 am ]
Post subject:  Re: Help with get request in Json format 2

@requinix - I found the solution...

Thanks for help provided

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/