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":"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6Ijc4OTRiZDhmYjYxYTlmZjNlMDM0ZjNlM2RmOTFjNzJmMjA5ZjZmZjFhZDZlNWZlNGU5MjgwMmVmYTFhZWY3NzllYzUwMmMzYjFhOWUzMGM3In0.eyJhdWQiOiIzMSIsImp0aSI6Ijc4OTRiZDhmYjYxYTlmZjNlMDM0ZjNlM2RmOTFjNzJmMjA5ZjZmZjFhZDZlNWZlNGU5MjgwMmVmYTFhZWY3NzllYzUwMmMzYjFhOWUzMGM3IiwiaWF0IjoxNjc0ODQ5Njg3LCJuYmYiOjE2NzQ4NDk2ODcsImV4cCI6MTY3NjE0NTY4Nywic3ViIjoiMTk4Iiwic2NvcGVzIjpbIioiXX0.gXy7sa9CFsJBG5Qb5tpnMUQ6q7fsgp5JV4e0bTiKx7pO42EhLX-cG4BnJ7z5-YqlDAYiigjvFuOIuPI8ABnbb3SUhypRCuDz0N0RZ_XUHaGpvKUDZxzFjdTuzJU7tipCqZWcJi0HNh6mRQtniAm5L8ETbSQn2suZ8CkWIiYCFh5K8dd-4sDnyN_KztrjhDyVjX1poJ-onYhguG30fswg59MfuTQ8l7PqPg3HfXN_5O1Z4_mCANHIC4AEwGitwsm8zcvcYf9o1k5xAoes73kXPgsK2JjhYMiZYTgv6ibwIuYc0ZtVRMjqc8RZjwxeYOWt7rsbF4KVQQKxXUjmTjJ1gktQXdFd9R8yigijX6kLAYN70-Jxaaoh8tXsgAunWbR0XevWGOIzihdCY48Ad_Dm0DWxaUa28zWl5e6rxCfjbfYVqR4riHg1nD1acU6XGHz_xbZzNubh1yTbM02e6lXdFkfoqkvFQQIgp7HHx4tRc18_JcVTsJii861ahERoQDUwxzl3PM1ERK5iYq__7dZU3_B0JgdZJqn2dfepDLohMOH-3K0arvwFoKlOe-cBxZCLIn0ka_J2aNLJ4cfpke-v7O5MflPxsTSvhw-s8ZXFziTRWyeBcOvmbiuUbyh7JTevdcxv5JPipLcKtwiPRrMnp8wiSUI-20brKNvDFFgf_0E","refresh_token":"def50200f65e235fef6331dca5af89fdb82ab47d687cbc44dfe449689491efb7478d5037d35312b9f655dee8999cae300bc5fba8cd0b7260ec0e79e576aa4b7eedd985eb3d694a287377cd3c6db44c330721433637af4982a060f18f2fd2dea47203e5e57b391da724054c96b690f27902f2efd037bae9ef3764488f4487af7bc8c8c8084c0a666d6a3f14f76816ed3e0ef57d2e6bd8d9846c7898bf5b863c7b2e50f6bfbe4c52c8d70bb05dd8c60fb34ded8f4efc3fbb3028aeac2a3c0c4a3fdfefc3ae158e6c4c49e00bdd7b5bdeed19f7eecaee54af84a75a1c5e262315d3429b737db72c55342ec6ca8f8ce7f36d0c59efefe6f27439edb57775fa8bd6ded90f1cd1b3de8a0717fa748c7631af34658238a7302b35adbd0534fcfa2c7c906daf687c01eda5ddbce2ff10a178eba8ac7cd88bd2847d8058b2050f2b276acec5a82dcf34742496f90a4f609c1c1ee3204eb70d3b6f769ce96936b223c0767719df5bf63e673d"}
Array
(
    [token_type] => Bearer
    [expires_in] => 1296000
    [access_token] => eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6Ijc4OTRiZDhmYjYxYTlmZjNlMDM0ZjNlM2RmOTFjNzJmMjA5ZjZmZjFhZDZlNWZlNGU5MjgwMmVmYTFhZWY3NzllYzUwMmMzYjFhOWUzMGM3In0.eyJhdWQiOiIzMSIsImp0aSI6Ijc4OTRiZDhmYjYxYTlmZjNlMDM0ZjNlM2RmOTFjNzJmMjA5ZjZmZjFhZDZlNWZlNGU5MjgwMmVmYTFhZWY3NzllYzUwMmMzYjFhOWUzMGM3IiwiaWF0IjoxNjc0ODQ5Njg3LCJuYmYiOjE2NzQ4NDk2ODcsImV4cCI6MTY3NjE0NTY4Nywic3ViIjoiMTk4Iiwic2NvcGVzIjpbIioiXX0.gXy7sa9CFsJBG5Qb5tpnMUQ6q7fsgp5JV4e0bTiKx7pO42EhLX-cG4BnJ7z5-YqlDAYiigjvFuOIuPI8ABnbb3SUhypRCuDz0N0RZ_XUHaGpvKUDZxzFjdTuzJU7tipCqZWcJi0HNh6mRQtniAm5L8ETbSQn2suZ8CkWIiYCFh5K8dd-4sDnyN_KztrjhDyVjX1poJ-onYhguG30fswg59MfuTQ8l7PqPg3HfXN_5O1Z4_mCANHIC4AEwGitwsm8zcvcYf9o1k5xAoes73kXPgsK2JjhYMiZYTgv6ibwIuYc0ZtVRMjqc8RZjwxeYOWt7rsbF4KVQQKxXUjmTjJ1gktQXdFd9R8yigijX6kLAYN70-Jxaaoh8tXsgAunWbR0XevWGOIzihdCY48Ad_Dm0DWxaUa28zWl5e6rxCfjbfYVqR4riHg1nD1acU6XGHz_xbZzNubh1yTbM02e6lXdFkfoqkvFQQIgp7HHx4tRc18_JcVTsJii861ahERoQDUwxzl3PM1ERK5iYq__7dZU3_B0JgdZJqn2dfepDLohMOH-3K0arvwFoKlOe-cBxZCLIn0ka_J2aNLJ4cfpke-v7O5MflPxsTSvhw-s8ZXFziTRWyeBcOvmbiuUbyh7JTevdcxv5JPipLcKtwiPRrMnp8wiSUI-20brKNvDFFgf_0E
    [refresh_token] => def50200f65e235fef6331dca5af89fdb82ab47d687cbc44dfe449689491efb7478d5037d35312b9f655dee8999cae300bc5fba8cd0b7260ec0e79e576aa4b7eedd985eb3d694a287377cd3c6db44c330721433637af4982a060f18f2fd2dea47203e5e57b391da724054c96b690f27902f2efd037bae9ef3764488f4487af7bc8c8c8084c0a666d6a3f14f76816ed3e0ef57d2e6bd8d9846c7898bf5b863c7b2e50f6bfbe4c52c8d70bb05dd8c60fb34ded8f4efc3fbb3028aeac2a3c0c4a3fdfefc3ae158e6c4c49e00bdd7b5bdeed19f7eecaee54af84a75a1c5e262315d3429b737db72c55342ec6ca8f8ce7f36d0c59efefe6f27439edb57775fa8bd6ded90f1cd1b3de8a0717fa748c7631af34658238a7302b35adbd0534fcfa2c7c906daf687c01eda5ddbce2ff10a178eba8ac7cd88bd2847d8058b2050f2b276acec5a82dcf34742496f90a4f609c1c1ee3204eb70d3b6f769ce96936b223c0767719df5bf63e673d
)