Skip to content

Latest commit

 

History

History
51 lines (42 loc) · 8.25 KB

README.md

File metadata and controls

51 lines (42 loc) · 8.25 KB

TestApplausoStudio

Test by Sergio Zorrilla

Hi, I tried to make the test it the same way you send me the instructions, but I had a problem with the API anilist, those were the steps I made and the results went wrong: (Actualy teste with both apis v1 and v2): 1: I registed in Anlist to create my API Clients. 2: https://anilist.co/api/v2/oauth/authorize?grant_type=authorization_code&client_id=44&redirect_uri=prueba.com&response_type=code Response = def5020006884c7229073f238cfbacb16c7e9edfb0da4068cbd0ae1b9c3314e9a9be708e2dd97a401d9ab37936543a7373face26e96b3f1a1b15e0650700477522d56821482cd3e33fa7c77182076a038fdff3f7a2b98522f04a80437c198e3424a3e454b2fd4a4cb06b623718a8801edec9dfc93eaf4bdfde7d30bba04f9a37b11a12b24a12d8e5376c98dd74471cb49b1858d1cffaab91425bbafbe8d871bec7613133bf5c385f27586b42d0c058ec65e33c98b5d555c76f093bb874f2e76ac0595560005c17d899b6be6782702394cdbea6f46144f2c259d83003ef680b31ab65fd9f36eca80cf033d3e177d85a56bf127ca7048c33c038802c794a320dc2ed2f7b7ae72e75e83b45c2ac05926aaaf4207488ed48461c238790541ca2144b904281e526c3129bf419bb2c5fea8b678fe11d520561fecc8986ef34c8e6683b6bf9a89e68a88fdf580432d10ae1e9 3: https://anilist.co/api/v2/oauth/token?grant_type=authorization_code&client_id=44&client_secret=TtR9dtxGxrkQwgxEewiby6Ey5CNK3SEjDPJaoplM&redirect_uri=prueba.com&code=def5020006884c7229073f238cfbacb16c7e9edfb0da4068cbd0ae1b9c3314e9a9be708e2dd97a401d9ab37936543a7373face26e96b3f1a1b15e0650700477522d56821482cd3e33fa7c77182076a038fdff3f7a2b98522f04a80437c198e3424a3e454b2fd4a4cb06b623718a8801edec9dfc93eaf4bdfde7d30bba04f9a37b11a12b24a12d8e5376c98dd74471cb49b1858d1cffaab91425bbafbe8d871bec7613133bf5c385f27586b42d0c058ec65e33c98b5d555c76f093bb874f2e76ac0595560005c17d899b6be6782702394cdbea6f46144f2c259d83003ef680b31ab65fd9f36eca80cf033d3e177d85a56bf127ca7048c33c038802c794a320dc2ed2f7b7ae72e75e83b45c2ac05926aaaf4207488ed48461c238790541ca2144b904281e526c3129bf419bb2c5fea8b678fe11d520561fecc8986ef34c8e6683b6bf9a89e68a88fdf580432d10ae1e9 Response = { "token_type": "Bearer", "expires_in": 31536000, "access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjA5NzJkMTcxM2NiZWY2ZWU1MjljMjBiYjNkNmY2ZjhjNTBlOGQ2NjQyZGU1OTRlMDI3YjFhNTBlNmFlZjE1NmZhYWIwZjE5MWY4Y2QyYWI0In0.eyJhdWQiOiI0NCIsImp0aSI6IjA5NzJkMTcxM2NiZWY2ZWU1MjljMjBiYjNkNmY2ZjhjNTBlOGQ2NjQyZGU1OTRlMDI3YjFhNTBlNmFlZjE1NmZhYWIwZjE5MWY4Y2QyYWI0IiwiaWF0IjoxNTAzMTU1NTQ1LCJuYmYiOjE1MDMxNTU1NDUsImV4cCI6MTUzNDY5MTU0NSwic3ViIjoiMTAxNzM2Iiwic2NvcGVzIjpbXX0.IT8PIBqi_bQrvhbh-hGwOIs9cqBnnaDGj8dx0GQWiTWLtNFZcJw0fwayBIjzw731TUrB1j0_czAj7qhw-V22n7MFgWBV09n1zE8OeM4q1JzYp2UpK4eXuVmqSbOw4iMLFJJLiyd7EVA07eTPPaqOPqq0vOSLeyR2Dng6zYHb1skLE3fBi66qsWmJuVwO5AF3v2BA09So6-ZFYo005wYN1HqCvqeV5SFItI6NWj7gws7Ao1vAfQte5BLkUQMj5DO3J6he_qj_nG6g5j9UxIjmC0KBJ9oNoZvOFa93eb0DaNukpT5mHklu_1C_GErFQACbCAad624JVDWVDT5X-BnNy9DleTpbYeT-9T421YGlF1cYeR4g26Fj_w6O9q8KemruMhhELQVGh9b8bRLNw5O3nZaGHPa6GNKuqcBT-qHGvRt9TD8ZLgg9qxozcQEUxxK7pOiGxbvyx7FNEfmKjKHEtFK9pHvAbVz-cx5vyd6eTsAv7uXewKqELASDRtcutJIZAt06U8lEh3zmqcfBBgJnbz0I-hG5tKqRjRWz61Aqa2JRgvy8p1W_6GUr3B2cY9lPglLGybG4FHcIeofteX27DoOLC-HAoZc5EFd34NkhCpDEn4WqexzApVkovu72xbUFvRgIPAFASaE9gKgjMELyrBfBXBsccy5_RrvfybQ_9G0", "refresh_token": "def50200fffc84bfe829d9ff1e2dc8764ad768b9dc45f54c357ecb2896c883f675fecc7cceb4ac929aba4e99a20676622404db57f83ff8bec1501b035dd212562b23ef947a232e3ff590b1ea931478f0689e4a343a8b741fbb9675deb50de079e0ede9bc1b6f927e56cf60465e3743c05be63c9cf86888db91cf8248312f02361b46c580c9a7cd5fcde5ba6adbde47e6acee92c5b242f3a3414779be95adcb3437f2e0a6ae9c1107d3e4a7e1d881f6ce743231cfad674410522aa0da17580ea78aee31f3a3910a900531c86d72bbf8c13614a2a8d2794eed74e49deaec8658314115372cf441ccc1ecc2ad014e1c0f804e971e520a07b24a37c1030cc9b93b3ecbe7750ab806a4e2805b7a54921388d566457d5179df1a3fe96ad264aa6afd955e34a6ca985e9e1444f53b16ce8a82f9e256b535e435e58a5f05c784c5995bf9bc4a21c1a2c7ee76ad8085dc825240e401e57ba1ecfadb7566a5387c6290f4c2c5c731d430bc77" } 4: https://anilist.co/api/v2/oauth/token?grant_type=refresh_token&client_id=42&client_secret=TtR9dtxGxrkQwgxEewiby6Ey5CNK3SEjDPJaoplM&refresh_token=def5020090c1018ab88452756f9ba9464298c3f205048cedc82bc78875af80e0c80dbbbb25ce4ab676493fda7b9edd194219c6f1a1ba747d58a408dae655103c39429ac2711de65a6d661232c33aefff7441b66427cf63be6b549770d7e4fbe20205e2ea7ed00cdce0ba84cc2355c49a8bb7a67c5bd3acdd74d0139aa19bc9b3286078802f9197704ecb873a9c166e5be4efca4e860da577cb696730ddda0cd7f2565640d28014d9682c8ac7f20e1e460fa8d1778c159567d237ebb71f5c9391a32ceca1f0c2bb18979019fb2ed2e51a33b336d287def47ebb92feea6e6505cbb44b1bc6ba984f5e4aadf7784906cdd7c7e70cf1e57bf8fe17dd0badd4492981063b1320084b3f55d64b0ab067c937b14e481d52a4e407e28831a34682d76cdf54430eb2c58d14326822d9f83a02876a339eb7402421bf6b7d0c8e1e8ed8d6ccbb4f94d1054ddb4a6a0a882e530b466ee54f896f28094795d6d7ebdb5f46dee62d126c15d05758

Response = { "token_type": "Bearer", "expires_in": 31536000, "access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImEzMDU0NmRkMGZiODk3MzMzMDVjYjRmMThlYzEzZGJiM2NhNDMxZmY2MjQyZDhhZGVmOWM4ZTQwZjhiYWExZjA0ZmY0YzM5ZTUzZmMxNzExIn0.eyJhdWQiOiI0MiIsImp0aSI6ImEzMDU0NmRkMGZiODk3MzMzMDVjYjRmMThlYzEzZGJiM2NhNDMxZmY2MjQyZDhhZGVmOWM4ZTQwZjhiYWExZjA0ZmY0YzM5ZTUzZmMxNzExIiwiaWF0IjoxNTAzMTI4MDM3LCJuYmYiOjE1MDMxMjgwMzcsImV4cCI6MTUzNDY2NDAzNywic3ViIjoiMTAxNzM2Iiwic2NvcGVzIjpbXX0.JY6CmxU9UcE8CbuCR2LlpAUM1rj5mnP0eLlVaTxBJKabgyM4OyM9ccvB4S0zZZWUxMNsLTYAjXoOmIVfsW030TezeYpRqZhM7pW7MksnZ7447SyhjNE_7-cQ_uayyhccA_W6mxq6j2qGRTasczu5Xf12I1Nasu2ts7L9RYS4SmQy5eimvo51UDdp1vp9UH6olsA55S8kqeVbMYjFfCEr7ErFIc3agNF9mA5WdN_drosBQ5hS1zQRAUzKMLZWpaSR_u4z-TiN5_lDVuiuUu5LbHlqbSdNyt4YdTn9kcVgCacD1EbDmaUzEv6Bua_YDS3EEimACnqikt9ZrD3HvEb_2IArENxp__Fp8g8RE_CBTJK58uVZLiwiQQTbWD0qwwcfXSX62Wiw6mH8QlXsdCzP6EV052Bsqo_GRbNp1Ti7Vq5KjGLq4UEuFVrrlbL44fnzgqtn2ocO_5w1RgVG1yNj2ylP_vKodVfIOtYg3A7WzjbdNDc7avSbacsEjgQsJcVUPvwZks41z-dhMr2Ge8SxgDNo8EuQfJBXoii-37PVYJjzHPd4s0YXMTotVEL-CUNzHJlKmjFpwwRG12PhCS4B4ABau559G9gPAKaSQHqduha-__evjdMGHijb0hmAi-2cZdQZH3cfH5Ox6ghey5UJL2f803a1vvoshif1Mo7f_M0", "refresh_token": "def5020048753c310afe9144e7922f08b5bc1292534004fdaed204de8ab8c09ca9b1b45582dd0dc57fd8c71e496ce4ed1881d6e4203080be1d7a05d6b7ccad5e99fa4e84330e42ae52e2e93bf26a4abd842ed195667d3b12f6e9abd28eee5c250d515107106b7a34588cafab246e372af8fdd6b9db618bd2fec24ead8c12570bb450f7a9b0f88bca67a1ed5c109e59e94755004485bbbb602eeed0291cc5ffd46ee13024c9f26186e22f5b9923d50bc4d29acc40a2ec58a37cf85d7c204662e2e48ecadb7308b1471cf69904de94d4533a8d57f6b975274b75b460f5d7d6c903f20f0c63a66f6d44deb425318a3ca73a776e62d7825dd303301b31bdc29a0b6de03197ece1389d31ce971b1cfb6d2dd987b27c234be5193551405915cb5245f0816dd10323cf827d2e10eb1831a06dfa272ded5c03c2a2aa06d0ba56d89478236ee04140f62be5a5658c52a127f68d012541cea7e71425a396fd4d574410abd8293e3cb8a1b98c" } 5: https://anilist.co/api/v2/oauth/token?grant_type=client_credentials&client_id=42&client_secret=4b6Xhdf6lnMc8HSVEV9drr Response = ///Respuesta: { "token_type": "Bearer", "expires_in": 31536000, "access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6Ijg3NjU0MTg2ZDhkMGY1ODAyYmJmZTQxNGIxZDRjMTYzN2U0NzFhMjU1ZDcyZTJmODI4Mzk1YzQwYTA3ZjliYTVhZmQ3ZTUxZWY0YmNiYmVlIn0.eyJhdWQiOiI0MiIsImp0aSI6Ijg3NjU0MTg2ZDhkMGY1ODAyYmJmZTQxNGIxZDRjMTYzN2U0NzFhMjU1ZDcyZTJmODI4Mzk1YzQwYTA3ZjliYTVhZmQ3ZTUxZWY0YmNiYmVlIiwiaWF0IjoxNTAzMTI4MjEwLCJuYmYiOjE1MDMxMjgyMTAsImV4cCI6MTUzNDY2NDIxMCwic3ViIjoiIiwic2NvcGVzIjpbXX0.uGoMQqYI2rYMuv8AmjHCcqdBAy93nIAg54ug86ISww_tHaRIIk1QIzum3IjK6vVEDo1QuVkAe_r2Uj8hwcyHUeFCNl4wJAyxFR5ZvfSWaaO_na3ivuc2r5sde-tKcumHLtZCVVsYC-unXP_xo1JIoYpbCp5GKzAFCEFNM7qsocPx1s2DlI05ZfUrm1iu5Hh8OBuhfooX9KNLyGp-YrCwIWend2dylQbV2XnLR8HfxzPsUIMpu4J7nG7VPjEWhPwzNIbhwgZ7DHRcOz45Rv-CYkykplv9xmXBBY1m3y7A8S1K21h3qVnvhFoXxHzrC_x3i5uw1ZIF8ipaJyM8ULf_NmgZx6uUzPjRR7IRFvbrJc2rgrJK-0annWHfZNXM6Yn0e9K-PgyDYBMUih1WSQtak2lyALAWjurWwuzmJRnN1apRE5hf4uvZVgxNQIBFKHehTWXfCRo26GqjuYarArI9AZYPbsT0vLhn6Uc-4Xu-7IoDwUBlb9oAei6Bg3FfFRXQ6MA4IjcbdIOzhDjiDJLb6U4M34ERlxjZMM5wtpqQWDbZQB0iQiJ5Bs5Tm0_QSX6M1qnyXZv4eHZeCpHQNJ02iWqrqv0EKrfNKM3cnd6e08-jReiuxWO6DWDZ0ywrUBsPz-apyWlSa7sB7DgwfOMur82q8fxPIbw8prdxcb9T7eU" }

At this point,I should see my anime list registered on my account: Normal Response: https://anilist.co/user/SergioZorrilla/animelist JSON Response: https://anilist.co/api/v2/user/44/animelist

But the answer of the json was: {"error":{"status":404,"messages":["API route not found."]}}

I tried several times and with different apis but the result was the same.

So, in order no complete the test with the main recruitments, I made Series list in http://myjson.com/pizm1.

Enjoy it.