bitfocus / companion-module-generic-http

Generic HTTP module
MIT License
9 stars 19 forks source link

Expose http response as variable #34

Closed gavalierm closed 1 year ago

gavalierm commented 1 year ago

Why this modul do not accept any response? It this is generic http modul how i can achieve receivin data from http (json) and do some stuff like change color by value in response?

EDIT: I found commit 4 days ago that accept response and add abiity to use image from URL. There is little step to add feedback to change color/bg or expose json variable from response body json.

Julusian commented 1 year ago

It already is possible to save the result to a custom-variable. The JSON Response Data Variable option

image

David-COUDRAY commented 1 year ago

Hi team,

Yes, but only possible to HTTP GET request. Why we don't set a custom variable on HTTP PUT request ?