Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [response]

The tag has no usage guidance.

0
votes
1answer
26 views

Rest reponse for empty field

If I am querying RestResponse using below query: List<Account> accList = [SELECT Name, AccountNumber FROM Account WHERE LastName = :req.params.get('name')]; For any account with an empty ...
-2
votes
3answers
261 views

Lightning component not returning a response

I Have a lightning component from which I pass data to an apex class. I return the object. Why don't I get an update on my object neither a response in my lightning component. Lightning ...
2
votes
1answer
499 views

@IsTest - How to get the RestContext.response from @HttpPost if the post method is not returning [duplicate]

I created a @HttpPost API end point called SampleAPI that doesn't return an object. Instead I am populating RestResponse like so: @RestResource(urlMapping='/SampleAPI/*') global class SampleAPI{ ...