Welcome Guest, Not a member yet? Register   Sign In
CI Client Parsing JSON
#4

Your best bet is to have server A send a POST to Server B with the JSON string included in a field.

Server A sends a POST request to Server B with a field of say,
PHP Code:
$payload json_encode($myData); 

Then on Server B at your endpoint, you grab it using either
PHP Code:
$_POST["payload"
or
PHP Code:
$this->input->("post"); 
Reply


Messages In This Thread
CI Client Parsing JSON - by cartalot - 03-29-2015, 05:55 PM
RE: CI Client Parsing JSON - by RWCH - 03-30-2015, 04:05 AM
RE: CI Client Parsing JSON - by cartalot - 03-30-2015, 12:15 PM
RE: CI Client Parsing JSON - by creanium - 03-30-2015, 12:48 PM
RE: CI Client Parsing JSON - by CroNiX - 03-30-2015, 12:51 PM
RE: CI Client Parsing JSON - by cartalot - 03-30-2015, 03:06 PM



Theme © iAndrew 2016 - Forum software by © MyBB