corrected variable name request_result
changed variable check from 'status_code' to 'ok'
changed 'status_code' variable with 'ok'
Merge branch 'share' of https://github.com/stefanobazzi/share-system-team1 into share