01-07-2023 10:35 AM
Is there any option to circumvent/avoid the CORS preflight when sending a PUT request to my smart home device from a google Nest or Hub?
I am sending a PUT request my local API, but I get an error (405) because my REST API has no OPTIONS call. Apparently smarthome sends a CORS preflight OPTIONS call first.
Answered! Go to the Recommended Answer.
01-16-2023 07:12 PM
01-16-2023 07:12 PM