Hi! I am trying to POST data from companion to my Django server.
The result is always TypeError: Failed to fetch
My Django server has already been running over https and I can POST data through another Python program but failed on the companion...Why would this happen? Thank you!
Best AnswerI have already given permission to this app also set CORS on my server.😭
I saw some other topic they said they use this way it works...I just don't know why this didn't work on my app. 😭
Best AnswerI think I am running into this same issue. Was trying to test using the SendMessage app to POST data to my home automation server. . .but it isn't getting there. I tested with the "Httper" app on my same device (where the fitbit is paired) and it successfully delivers the POST action. . .the app has permission and it will post to a server on the internet, but not one that I am trying to reach using the IP of my LAN.
Best AnswerI think that's the issue then. You can only use http with 127.0.0.1 in your companion.
Best Answer