Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
7 votes
1 answer
1k views

Good way to offer both LWCs and a REST API in the same code?

We are building a product that will make use of multiple Lightning Web Components (LWCs), and some of those will make use of @AuraEnabled Apex methods. We also plan to provide an API that non-LWC UI ...
Keith C's user avatar
  • 137k
5 votes
1 answer
14k views

URL_NOT_RESET error REST API

I have created the REST Resource to fetch the data from Salesforce. My Domain is also activated in our Org. When I fetch the data using https://myDomain.my.salesforce.com/.../... it is returning me ...
Nirav Shah's user avatar
2 votes
2 answers
809 views

WebService Post Rest API is Receiving as GET

I wrote a web service using @RestResource With both Get and Post methods. When I try to send a request via workbench - everything works great, but when I try to send a post request using other ...
Salvation's user avatar
  • 1,209