Last updated 1 year ago
Use this to get a user's rating for a dapp
Successful Operation
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?dappId=text', { method: 'GET', headers: {}, }); const data = await response.json();
{ "status": 0, "id": "text", "dappId": "text", "rating": 0, "comment": "text", "userId": "text", "userAddress": "text", "version": "text" }
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();