Last updated 1 year ago
Use this to get a user's rating for a dapp
Successful Operation
const response = await fetch('https://api-a.meroku.store/dapp/rate', { method: 'GET', headers: {}, }); const data = await response.json();
{ "status": 0, "id": "text", "dappId": "text", "rating": 0, "comment": "text", "userId": "text", "userAddress": "text", "version": "text" }
Use this to register a rating from a user for a dApp
Send the request with dApp parameters
successful operation
const response = await fetch('https://api-a.meroku.store/dapp/rate', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "dappId": "text", "rating": 0 }), }); const data = await response.json();