Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add $asJSON parameter ( default=true) to oik_remote::bw_remote_get #117
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.
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().