+ 3
How to imtegrate json and php. What is token? How to create token and validate the token using php?
Here Json is frontend and php is backend. Actually we develope an android app for my php software. In that i need to validate login. So i need to create token and validate? Please help me
2 ответов
+ 2
I got it:
Get input of json by following code:
$data=json_decode(get_file_contents(php://input);
If you want to convert to json:
echo$output=json_encode($data);
+ 1
Search for jwt for php may be it well help you!!