I have a http.put/post call triggered by metadata change on a liquidsoap 1.4.2 source:
def m_meta(m) =
d = json_of(m)
ignore(http.post(headers=[("Conent-Type","application/json; charset=utf-8"),("authorization","KEY"),("accepts","application/json")], data="#{d}", "/api/soundscapeplaylists"))
end
The call triggers as expected, and hits the api, but the only data i get is the id of the new post.
I've dumped the data to the terminal and entered it manually (through swagger), and all works fine, but when sent from liquidsoap i get no data.
Any help would be appreciated.