API_URL= https://ajoul.com/remote/api/v1/authorize?client_secret=8eTmoLbBPVJYOSpCcSfPI7O2v3mjKUaAM8RY9s47&client_id=31&username=wG2uaCRzx2&password=8eTmoLbBPVJYOSpCcSfPI7O2v3mjKUaAM8RY9s47

Error = 0
{"token_type":"Bearer","expires_in":1296000,"access_token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjVhMWY3ODg3ZDBmZDA3M2RlZGMxOWM1MTI4YjM2ZWY1YTQxNzNjNjczYzU5N2RjZmQ1YmEwNDZlYjRiOTljMTk4MWM4ZGZkMDBkZDFkYzUzIn0.eyJhdWQiOiIzMSIsImp0aSI6IjVhMWY3ODg3ZDBmZDA3M2RlZGMxOWM1MTI4YjM2ZWY1YTQxNzNjNjczYzU5N2RjZmQ1YmEwNDZlYjRiOTljMTk4MWM4ZGZkMDBkZDFkYzUzIiwiaWF0IjoxNjYwNzA2NTU5LCJuYmYiOjE2NjA3MDY1NTksImV4cCI6MTY2MjAwMjU1OSwic3ViIjoiMTk4Iiwic2NvcGVzIjpbIioiXX0.mJv6ZNaqU2ThdrJxuAwvBKSiKKApKjnycwsEuFlRuQDVyyFhuW77zFxsENRb9Z8qbUAFq8l9DFjQ0W-jimAtVNKyPSiOGU2xyDQy0VdiSqky_EZTB8Y8z9AhSzg1sgVCLaX5fDsm0Xebo03IngHdAnIXA6KguTCZDruKIit6h_Sen2Y_oWU56iIr_zaL5Ap52Vc7gIOE-Yi1Z4hFWhmaL9GO12bo-QqAZnmDoCBWzYoxfce6BarLox37x47QnVDFnCcmSkN6QGAhuJVJL_2G6dkSGjlJ8FUZ9xzXyueTPm7aSQv-re8rXUHJtJDq-RcVnlWJhTO5ncQRQ8NOac363cFWSR7dKai4WEXKw8DqLNnpKN_0OKTox3gAcbFs_K6glBjc9WORfqpIg3dVvVCIf0LVqDWnoJ0BgmW7OhXJxJ8qe3Z9ZLQOa_HoVQtDmR65yYtsCIsf6XqGy0z414i0nG3OJVmXhki7yh_FgCwhg3N6ihsHQQHAWefyncUVIbt-2Udwccff3blUD21UE2q96sigMPEKP2ApKOWsTWzy98g5oUEPAQktwByCQqRIBN6mqQQaTJHZNIEM_U4lrVhyM7Np_KNlCTtzXJZRn8rGk5EswkFEla1Q51c1uK4dw_GTCZgGCYX_xOaoD7G1z3OVrGUs9vWeiVGn-GT6ocDtU-E","refresh_token":"def50200a818e5a5a4f2d4d8ef3b6ca368e825ec3c703d67545fda0bd6ab2b244e0e0e63a0e3624925ee5995ca5a7036cfec4e98c6842b43bec4651c4f9f2287ad8112cd9b414de8068cd936db5a1e06a0963649b836f9fd042656ee952712d2aafcead2d0ff66ad45ed518c2cab7e558fce07bef9768253229c799a472aeb89adb0cfe1c966a890235e78c4f0f58b777c4364749b4f78a9caed168be8ba540eba2c890e9d43f38a7d517814cba8f9680358aacff6483aca6696b2286b89c4f783d06687aefdaccbb35886076439570178c23538e9c81d8950812b01cfec28eeaa070e43191f10256c42dbea2cf0a8fc3223e63e67f3d5273a80058a868474c71cbfd43b9afe7d9ba65ceb3f52dd2881de693b5a76e26b5d0334e0d83ee25cfd02d3349f394a84ea328a3f9c1c4d801873f06b75c682fb78d51588594b0d343d7b651b6a7462fe85028e29afedfbe4ab61c1feb7297460d347041b5dbb172edd7ee9b27c2f322e"}
Array
(
    [token_type] => Bearer
    [expires_in] => 1296000
    [access_token] => eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjVhMWY3ODg3ZDBmZDA3M2RlZGMxOWM1MTI4YjM2ZWY1YTQxNzNjNjczYzU5N2RjZmQ1YmEwNDZlYjRiOTljMTk4MWM4ZGZkMDBkZDFkYzUzIn0.eyJhdWQiOiIzMSIsImp0aSI6IjVhMWY3ODg3ZDBmZDA3M2RlZGMxOWM1MTI4YjM2ZWY1YTQxNzNjNjczYzU5N2RjZmQ1YmEwNDZlYjRiOTljMTk4MWM4ZGZkMDBkZDFkYzUzIiwiaWF0IjoxNjYwNzA2NTU5LCJuYmYiOjE2NjA3MDY1NTksImV4cCI6MTY2MjAwMjU1OSwic3ViIjoiMTk4Iiwic2NvcGVzIjpbIioiXX0.mJv6ZNaqU2ThdrJxuAwvBKSiKKApKjnycwsEuFlRuQDVyyFhuW77zFxsENRb9Z8qbUAFq8l9DFjQ0W-jimAtVNKyPSiOGU2xyDQy0VdiSqky_EZTB8Y8z9AhSzg1sgVCLaX5fDsm0Xebo03IngHdAnIXA6KguTCZDruKIit6h_Sen2Y_oWU56iIr_zaL5Ap52Vc7gIOE-Yi1Z4hFWhmaL9GO12bo-QqAZnmDoCBWzYoxfce6BarLox37x47QnVDFnCcmSkN6QGAhuJVJL_2G6dkSGjlJ8FUZ9xzXyueTPm7aSQv-re8rXUHJtJDq-RcVnlWJhTO5ncQRQ8NOac363cFWSR7dKai4WEXKw8DqLNnpKN_0OKTox3gAcbFs_K6glBjc9WORfqpIg3dVvVCIf0LVqDWnoJ0BgmW7OhXJxJ8qe3Z9ZLQOa_HoVQtDmR65yYtsCIsf6XqGy0z414i0nG3OJVmXhki7yh_FgCwhg3N6ihsHQQHAWefyncUVIbt-2Udwccff3blUD21UE2q96sigMPEKP2ApKOWsTWzy98g5oUEPAQktwByCQqRIBN6mqQQaTJHZNIEM_U4lrVhyM7Np_KNlCTtzXJZRn8rGk5EswkFEla1Q51c1uK4dw_GTCZgGCYX_xOaoD7G1z3OVrGUs9vWeiVGn-GT6ocDtU-E
    [refresh_token] => def50200a818e5a5a4f2d4d8ef3b6ca368e825ec3c703d67545fda0bd6ab2b244e0e0e63a0e3624925ee5995ca5a7036cfec4e98c6842b43bec4651c4f9f2287ad8112cd9b414de8068cd936db5a1e06a0963649b836f9fd042656ee952712d2aafcead2d0ff66ad45ed518c2cab7e558fce07bef9768253229c799a472aeb89adb0cfe1c966a890235e78c4f0f58b777c4364749b4f78a9caed168be8ba540eba2c890e9d43f38a7d517814cba8f9680358aacff6483aca6696b2286b89c4f783d06687aefdaccbb35886076439570178c23538e9c81d8950812b01cfec28eeaa070e43191f10256c42dbea2cf0a8fc3223e63e67f3d5273a80058a868474c71cbfd43b9afe7d9ba65ceb3f52dd2881de693b5a76e26b5d0334e0d83ee25cfd02d3349f394a84ea328a3f9c1c4d801873f06b75c682fb78d51588594b0d343d7b651b6a7462fe85028e29afedfbe4ab61c1feb7297460d347041b5dbb172edd7ee9b27c2f322e
)