type:POST now calls correctly. Now correct the data payload (json)