I was using the REST to fire some query.
i was using the context.getServerURL() to get the generic URL with the org name.
wheni was using the IP or the localhost, i got the "access denied issue".
so if you will use the servername , then the issue will not come.
thanks,
yes.sudhanshu
i was using the context.getServerURL() to get the generic URL with the org name.
wheni was using the IP or the localhost, i got the "access denied issue".
so if you will use the servername , then the issue will not come.
thanks,
yes.sudhanshu
Use getClientURL()
ReplyDelete