Somfy-Developer / Somfy-TaHoma-Developer-Mode

A collection of requests to use a local API with Somfy TaHoma gateways
137 stars 12 forks source link

Missing Header Content-Type ? #100

Open dirkdatakamp opened 1 year ago

dirkdatakamp commented 1 year ago

Hi,

I'm trying to build a small "local" javascript page to control a roller shutter.

Reading information and positions is not a problem.

Unfortunately POST to the "/exec/apply" command doesn't work.

Firefox throws a cross origin error both in my application and in the example "https://somfy-developer.github.io/Somfy-TaHoma-Developer-Mode/"

I think the header "Access-Control-Allow-Headers: Authorization, Content-Type" is missing in the web server in the tahoma box. missing header

Would it be possible to fix it in the next update?

Greetings and Thanks Dirk

Ryanx971 commented 1 year ago

Hi ! I have the same problem, any suggestions?

Ryanx971 commented 5 months ago

Hi!

Just checking in on the status of this bug. Are there any updates?

Thanks!

Ryan