Forum Discussion
TariqHussain I am not familiar with the endpoints you mentioned here. The code you show here looks like is a javascript template by using FreeMarker? (Sorry I am not exactly sure about it).
In my case I am using react native to develop a mobile app and it is using purely javascript to make the REST call. the calling is looking like this. I haven't found how to use restadmin() to call the api here.
fetch(httpUrl)
.then(function(response) {
return response.json();
})
.then(function(myBlob) {
});
Hi fengka
For your calls to be successful, you'll need two permission settings (Make REST API calls with read access and Make REST API calls with modify access) to be set to Grant. This is done in Community Admin > Users. I think this will solve your issues. We describe this in our API doc in the Authentication section. Hope this helps.
Related Content
- 10 months ago
- 7 years ago
- 5 months ago
- 9 years ago
- 2 years ago