function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Pedro Garcia 32Pedro Garcia 32 

Callout to verify the api key

Hi...

As an Administrator, I want to access the REST resource once I submit the serial key.

The administrator (any user with permission) submits the serial key (config__c custom object), before storing it in the database I want to confirm that the serial key is OK and show the response from the callout.

How could I make a callout before saving the serial key record? If this is not possible, what other workflow do you recommend for this business model?

Thanks