Hi. I have been playing with the API for a while and I found that, a valid movie doesn't return status_code, while an invalid movie does.
According to the docs, every response has its code including success. But the is no status code on a valid movie which it should with the code 1.
Am I missing something here? Can I just check if status_code exists or not to validate a response? Because I believe only problematic responses will have the status_code but not a valid and successfull API request.
Thanks
فیلم و نمایش تلویزیونی را نمیتوانید پیدا کنید؟ به سیستم وارد شوید تا آن را ایجاد کنید.
آیا میخواهید به این مورد امتیاز دهید یا به فهرست اضافه کنید؟
عضو نیستید؟
پاسخ توسط Travis Bell
در تاریخ سپتامبر 25, 2018 ساعت 10:58 ق.ض
Hi @psycholyzern,
It's true,
status_code
is only returned on select responses. You're the first person to bring this up, which is interesting. I've created a new ticket for this here.Thanks for the report.