Updated access callback for rest requests, and readme to match.
Corrected parameter datatype in comments.