You need to sign in to do that
Don't have an account?
Sumant Kuchipudi
How to allow rest api to outside with basic authentication
Hi,
I have below RestResourse and would like to give access to third party to gain access to this API through simple authentication, would it be possible? can I have an example on how to invoke this API from (Java/python)
I have below RestResourse and would like to give access to third party to gain access to this API through simple authentication, would it be possible? can I have an example on how to invoke this API from (Java/python)
@RestResource(urlMapping='/ELPData/*') global with sharing class ELPRESTController { @httpPost global static String getFellowsData(List<ELPFellow> fellows){ System.debug(' fellows '+fellows); return 'SUCCESS'; } global class ELPFellow { global String FirstName { get; set; } global String LastName { get; set; } global String MiddleName { get; set; } global String Title { get; set; } global String Gender { get; set; } } }