New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add $asJSON parameter ( default=true) to oik_remote::bw_remote_get #117

bobbingwide opened this Issue Jan 5, 2019 · 0 comments


None yet
1 participant
Copy link

bobbingwide commented Jan 5, 2019

When bw_remote_get was first written it expected the result to be returned as JSON. It automatically converted the returned data into a JSON object using json_decode().


There is a new requirement, in a new (private) plugin that expects to receive the returned data AS IS.

Proposed solution

Add an $asJSON parameter, which defaults to true, to allow a calling routine to request the data to be returned AS IS, without running json_decode().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment