Changed Activity API to REST

Also changed generic for all requests.
Currently malfunctioning for all others than Activity API.