FavoriteAdam Cimino (medaxis) asked in #IntegrationAug 27, 2015, 5:49 PMpublic rest serviceI have a requirement to create a publicly accessible web service.This is what I did1) Set up a Site on my org called publicWebServicehttps://sandbox.cs14.force.com/publicWebService/2) I create a class to handle a post http request@RestResource(urlMapping='/logService/v1')3) I grated access to this class in the sites profileI set it up in my sandbox first and it works perfectlyAccess as followshttps://sandbox.cs14.force.com/publicWebService/services/apexrest/logcall/v1?parm1=blabla&parm2=hahaWhen i moved my implementation into my production org. I did the same thing.Site = https://production.force.com/publicWebService/But i can’t access it like i did in my sandboxhttps:// production.force.com/publicWebService/services/apexrest/logcall/v1?parm1=blabla&parm2=hahaAm I missing something or have to do something differentlyMuch appreciated 1 answerSortSort by DateSort by Most HelpfulSort by DateNeetu Bansal (Deloitte)Aug 27, 2015, 8:14 PMHi Adam,What error you received? And just make sure that you have followed all the sames steps, like giving access to the service on Public Sites.Also, you are using the correct site URL.Thanks,NeetuAdd a commentWrite an answer...BoldItalicUnderlineStrikethroughBulleted ListNumbered ListAdd linkCode blockInsert imageAttach filesLink URLCancelSave0/9000Reply
Neetu Bansal (Deloitte)Aug 27, 2015, 8:14 PMHi Adam,What error you received? And just make sure that you have followed all the sames steps, like giving access to the service on Public Sites.Also, you are using the correct site URL.Thanks,Neetu