Home > @uniformdev/mesh-edgehancer-sdk > getDataResourceAsRequest
getDataResourceAsRequest() function
Converts a data resource to a Request object suitable to pass to fetch()
Signature:
Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead> <tbody><tr><td>
data
</td><td>
</td><td>
</td></tr> </tbody></table> Returns:
Request