Bloodevil / sony_camera_api

sony camera remote api
http://developer.sony.com/develop/cameras/
MIT License
244 stars 60 forks source link

a6600 HTTP response code 415, seems to not like "application/json" #78

Open frank26080115 opened 2 years ago

frank26080115 commented 2 years ago

I was writing C++ code for ESP32 to remote control my a6600, I see many of these libraries on the internet and the all seem to use the request header "Content-Type: application/json", so I put the same in my code. I get HTTP response code 415 back which indicates "bad media type"

(note: removing that header, I get error 400 instead, I'm not getting far with this camera right now)

I run the pysony example code with my a6600, and I get the same error.

Have you guys run into this with any other camera? Can you offer some hints? Technically the SDK only supports up to a6500 and I have a a6600... is it just me?