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":"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImU2ZTZlNjNmODg4YjE4MTI4MWI2YTYyZDA4MjYyMTNkMzgxMGI4ZjA1N2U5YTdiNDUzZmYyMzE1YzczZTNmN2MxZjgzYWE2ZWQwNDFjN2E4In0.eyJhdWQiOiIzMSIsImp0aSI6ImU2ZTZlNjNmODg4YjE4MTI4MWI2YTYyZDA4MjYyMTNkMzgxMGI4ZjA1N2U5YTdiNDUzZmYyMzE1YzczZTNmN2MxZjgzYWE2ZWQwNDFjN2E4IiwiaWF0IjoxNjUyNzgxMTM0LCJuYmYiOjE2NTI3ODExMzQsImV4cCI6MTY1NDA3NzEzNCwic3ViIjoiMTk4Iiwic2NvcGVzIjpbIioiXX0.PdKNWU4ZPsXiEXc7VeVFBek_v-c3AWdjhUTbIUjk7qGGXLwSw73VQuQ4B3czVBVwXnc5kv9VFbg20bocTlCC0N_mBYyPK2aW9k0191Y4JGoV2GOarcbPcmEHwVNI5wW_yBmmy1ubfkHSXAEKbqXvQ3g9J7v20uHXPRAinWIzIEd2BGACwP-x1Y_EHEHLlQ-ZX8B4VGtiJWjfvmltHzbOwF-Nf68EG0Z2B1jFbSC16EJuKifi4wxbWBspNEqjlvKNrYle8ZrbRvl6ga0Gz6KZPFMcPaFvqft92IgWT6zmQbB7Mdyc6W8FK9OfJ-hBRWK7lsV5E-FQ5ri4O0MHhfhY7hXB6TJbPaWAxtf06pym-6zytgcknYWFTs-MC3ZocEgqXnmAaitjJBmHs5vmA_LZ-jTe_EXpsrhcukoj0NyeYneYmi-8b_vSfHXct5BsVi3Yo0k8UoqKGROh1PYmYgoV84IuE4xeqdY3D342N74dIEu4_JuTlFL5g3dIpqr17TEBkBhRYnte8X_hac7rhHIxrWoCJ6esA-fHGT8OxPHxn38b_1-RibWBYhxQPXyQ6M-GLxw2J42f4UeCs1KB3t-XrGaEqWOaxC4iGzRPCicNFeg5xShw6JzPRHFqNarnoMIOcebok5CbhxqAo6XZr34UYeqgRv5G1mAFA27PI0T_Z8E","refresh_token":"def502000cb5f27a73d6167538813c8511f8440210cb08b32c017e7976955f84f7f2382dee6961baa633b7bb6198803b46f380befb4839941c95e120b4164927198a746476ff1effc5ff2c9b89a22070024ef9b65db47d5bfb58e8b588ca4a24bd0d79ab051ad8d0f14e8613b9a7db68fa378ae41c9af22a99a53a8bfd206ce41859ef5c7e4d188a4cd4e38b87e18e0a0810ef8426b5e90f1f2ec0587963f4e4796ffef1394df9e7a221c3acb30fbaba4e9ed838fb0093e9609e38178106beb5ec257c1831a2fbddc404794a260432aeffc0697674252b5bf422d8eac449d8b9b64f107ca22330a54cf3d59afa6dc1cc00f38ada288eff7f2f656f559a8bfcef8256c225816c2994f514e813a16e6965b1f67544a736206ccfb8aec8bbb2e6399363201210a8cede177a4c0068ba811ec364250b4e437f8964b0c36969cb8d77e3306b8234305fde022fe648c3451f1b61d3db78c9c03d229c7209005e197baad1db193efee229"}
Array
(
    [token_type] => Bearer
    [expires_in] => 1296000
    [access_token] => eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImU2ZTZlNjNmODg4YjE4MTI4MWI2YTYyZDA4MjYyMTNkMzgxMGI4ZjA1N2U5YTdiNDUzZmYyMzE1YzczZTNmN2MxZjgzYWE2ZWQwNDFjN2E4In0.eyJhdWQiOiIzMSIsImp0aSI6ImU2ZTZlNjNmODg4YjE4MTI4MWI2YTYyZDA4MjYyMTNkMzgxMGI4ZjA1N2U5YTdiNDUzZmYyMzE1YzczZTNmN2MxZjgzYWE2ZWQwNDFjN2E4IiwiaWF0IjoxNjUyNzgxMTM0LCJuYmYiOjE2NTI3ODExMzQsImV4cCI6MTY1NDA3NzEzNCwic3ViIjoiMTk4Iiwic2NvcGVzIjpbIioiXX0.PdKNWU4ZPsXiEXc7VeVFBek_v-c3AWdjhUTbIUjk7qGGXLwSw73VQuQ4B3czVBVwXnc5kv9VFbg20bocTlCC0N_mBYyPK2aW9k0191Y4JGoV2GOarcbPcmEHwVNI5wW_yBmmy1ubfkHSXAEKbqXvQ3g9J7v20uHXPRAinWIzIEd2BGACwP-x1Y_EHEHLlQ-ZX8B4VGtiJWjfvmltHzbOwF-Nf68EG0Z2B1jFbSC16EJuKifi4wxbWBspNEqjlvKNrYle8ZrbRvl6ga0Gz6KZPFMcPaFvqft92IgWT6zmQbB7Mdyc6W8FK9OfJ-hBRWK7lsV5E-FQ5ri4O0MHhfhY7hXB6TJbPaWAxtf06pym-6zytgcknYWFTs-MC3ZocEgqXnmAaitjJBmHs5vmA_LZ-jTe_EXpsrhcukoj0NyeYneYmi-8b_vSfHXct5BsVi3Yo0k8UoqKGROh1PYmYgoV84IuE4xeqdY3D342N74dIEu4_JuTlFL5g3dIpqr17TEBkBhRYnte8X_hac7rhHIxrWoCJ6esA-fHGT8OxPHxn38b_1-RibWBYhxQPXyQ6M-GLxw2J42f4UeCs1KB3t-XrGaEqWOaxC4iGzRPCicNFeg5xShw6JzPRHFqNarnoMIOcebok5CbhxqAo6XZr34UYeqgRv5G1mAFA27PI0T_Z8E
    [refresh_token] => def502000cb5f27a73d6167538813c8511f8440210cb08b32c017e7976955f84f7f2382dee6961baa633b7bb6198803b46f380befb4839941c95e120b4164927198a746476ff1effc5ff2c9b89a22070024ef9b65db47d5bfb58e8b588ca4a24bd0d79ab051ad8d0f14e8613b9a7db68fa378ae41c9af22a99a53a8bfd206ce41859ef5c7e4d188a4cd4e38b87e18e0a0810ef8426b5e90f1f2ec0587963f4e4796ffef1394df9e7a221c3acb30fbaba4e9ed838fb0093e9609e38178106beb5ec257c1831a2fbddc404794a260432aeffc0697674252b5bf422d8eac449d8b9b64f107ca22330a54cf3d59afa6dc1cc00f38ada288eff7f2f656f559a8bfcef8256c225816c2994f514e813a16e6965b1f67544a736206ccfb8aec8bbb2e6399363201210a8cede177a4c0068ba811ec364250b4e437f8964b0c36969cb8d77e3306b8234305fde022fe648c3451f1b61d3db78c9c03d229c7209005e197baad1db193efee229
)