This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Ebeco floorheat thermostat
#7
(08.08.2022, 07:06)admin Wrote: Try adding Accept: application/json or Accept: */* to headers in GetToken function:
Code:
headers = {
  ['Content-Type'] = 'application/json',
  ['Content-Length'] = #request_body,
  ['Abp.TenantId'] = 1,
  ['Accept'] = 'application/json',
},

Now intsted of "HTTP/1.1 415 Unsupported Media Type"

I get "HTTP/1.1 400 Bad Request"
Reply


Messages In This Thread
Ebeco floorheat thermostat - by victor.back - 17.12.2021, 06:50
RE: Ebeco floorheat thermostat - by admin - 17.12.2021, 07:42
RE: Ebeco floorheat thermostat - by admin - 08.08.2022, 06:04
RE: Ebeco floorheat thermostat - by admin - 08.08.2022, 07:06
RE: Ebeco floorheat thermostat - by victor.back - 08.08.2022, 07:16
RE: Ebeco floorheat thermostat - by admin - 08.08.2022, 07:24
RE: Ebeco floorheat thermostat - by admin - 08.08.2022, 08:01
RE: Ebeco floorheat thermostat - by admin - 08.08.2022, 09:27
RE: Ebeco floorheat thermostat - by admin - 08.08.2022, 12:07
RE: Ebeco floorheat thermostat - by admin - 31.10.2023, 07:57

Forum Jump: