Fixed sending process data to API, it seems to work now.