Open emptyr1 opened 10 years ago
So different parts of the API will have different URLS like http://richcoin.cs.ucsb.edu:8280/vault/1.0.0 http://richcoin.cs.ucsb.edu:8280/scoreboard/1.0.0 http://richcoin.cs.ucsb.edu:8280/awsusage/1.0.0
there are sub URLs (for getting stats on specific solutions etc..)
We need to map the responses into java objects and functions. Look at gson lib for constructing/parsing json objects.
Example Things we want to be able to do is: Submit a solution, -parse error, status Get existing solutions Get score GEt AWS usage
-Michael Nekrasov http://mikrasov.com
On Sun, Apr 27, 2014 at 1:41 AM, Mudit notifications@github.com wrote:
Hey, I see you have simulated some post requests in src folder. I was about to add something similar. Anyway, I am not entirely sure about the 'String url'.. -> https://richcoin.cs.ucsb.edu:9443/store/? I tried a POST request and works fine.
Reply to this email directly or view it on GitHubhttps://github.com/mikrasov/Cloud_Ramsey_Miner/issues/2 .
Right! Yeah.. Just check the response on hurl.it, and works fine..
You might want to merge your branch into master frequently or work in master. I worry that we may end up having to resolve lots of conflicts otherwise.
-Michael Nekrasov http://mikrasov.com
On Sun, Apr 27, 2014 at 7:25 PM, Mudit notifications@github.com wrote:
Right! Yeah.. Just check the response on hurl.it, and works fine..
Reply to this email directly or view it on GitHubhttps://github.com/mikrasov/Cloud_Ramsey_Miner/issues/2#issuecomment-41518351 .
Sure.. I thought the best would be the main owner(or one person) who should be responsible for merging..(to avoid conflicts, and to avoid changing something at the same time. ) Anyway, I ll merge the branches..
So the code you merged in is a good start but is not a full API implementation...
So the URL https://richcoin.cs.ucsb.edu:9443/store/ just pulls HTML from the website...
We want to actually access the three JSON APIs located at:
We need methods and objects for:
Look over the slides and python exampleshttps://www.cs.ucsb.edu/~rich/class/cs290-cloud/code/bank/ .
The sooner these are implemented the better (1 & 2 preferably by friday) so that we can have something running by this weekend.
If you need help, getting this sorted out let me know.
-Michael Nekrasov http://mikrasov.com
On Sun, Apr 27, 2014 at 7:25 PM, Mudit notifications@github.com wrote:
Right! Yeah.. Just check the response on hurl.it, and works fine..
Reply to this email directly or view it on GitHubhttps://github.com/mikrasov/Cloud_Ramsey_Miner/issues/2#issuecomment-41518351 .
Um, should I upload the whole project? It has Maven dependencies..
Hey, I see you have simulated some post requests in src folder. I was about to add something similar. I did add something. Not sure, if I should add my password.. Anyway, I am not entirely sure about the 'String url'.. -> https://richcoin.cs.ucsb.edu:9443/store/? I tried a POST request and works fine. I will be adding stuff into the 'WebBranch' branch.. Merge whenever! But DO fetch and merge before you push!:)