I get the following error with a simple One line web query in Windows Powershell. I've tried several things ...can anyone set me straight? Thanks
Invoke-WebRequest http://api.themoviedb.org/3/movie/550?api_key=9343dd7ed77d525d...
results in...
Invoke-WebRequest : {"status_code":19,"status_message":"Invalid accept header"} At line:1 char:1
لم تجد الفلم أو المسلسل ؟ سجل دخولك و انشئها
هل تريد تقييم او اضافة هذا العنصر للقائمة؟
لست عضو؟
رد بواسطة Travis Bell
بتاريخ مارس 16, 2013 في 1:43 مساءا
Hey dmance,
You need to send along an
Accept
header with a value ofapplication/json
. Unfortunately, I don't have any insight as to how to do that in Powershell. You'll have to scour the internet for help.