pearson api call result go into database