How to store external data in cakephp database

I am new to cakephp 3.2 i want to send data from another application to my cakephp database.

Clearify your question. Do you have a database dump and want to import to an other database? Or you need both databases and you want automatically sync them?

Thank you for your contribution rrd,
I have a database.I have an andriod sim host app that will forward all text messages send to the sim to my cakephp database/application as urlencoded in this format
I have this function in my ReceivedsController
public function add()
$received = $this->Receiveds->newEntity();
if ($this->request->is(‘post’)) {
$received = $this->Receiveds->patchEntity($received, $this->request->data);
if ($this->Receiveds->save($received)) {
$this->Flash->success((‘The received has been saved.’));
return $this->redirect([‘action’ => ‘index’]);
} else {
(‘The received could not be saved. Please, try again.’));
$this->set(’_serialize’, [‘received’]);
It is giving error that it could not be saved

I guess you have some validation error. Debug $recieved->errors() before $ŧhis->Flash->error()

i have added [‘validate’ => false]. It adding only the row id but not adding data into sender colunm, message colunm and received colunm.
Below is the pattern url

You should really debug your code, I can just blindly pop up ideas what can be wrong.

First check if you really get everything in $this->request->data. Than check what do you get after patching the entity. Than check the validation errors as I mentioned earlier.