You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a reason that the cors-proxy sends the request body as json and not data? I would like to add a Tactical RMM widget to the available widgets to monitor server status but the status endpoint wont accept the request with the body data sent as json.
I've already built the widget and tested with a modified version of the cors-proxy to send the request body as data and it resulted in the widget displaying the data properly.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Is there a reason that the cors-proxy sends the request body as
json
and notdata
? I would like to add a Tactical RMM widget to the available widgets to monitor server status but the status endpoint wont accept the request with the body data sent asjson
.const requestConfig = { method: req.method, url: targetURL, json: req.body, headers, };
I've already built the widget and tested with a modified version of the cors-proxy to send the request body as data and it resulted in the widget displaying the data properly.
Beta Was this translation helpful? Give feedback.
All reactions