How to use PeopleCode to pass long authentication token value in REST API call
We are trying to build a REST API integration with third party system, and we need to call third party APIs. We have tested the API calls in Postman and it worked fine. Now we are struggling to create the integration in PeopleSoft. We built an AE which included below peoplecode to do a simple test, but we received "Attribute value too long for the token value" error message. The token value is over 700 characters, how should we pass this kind of long taken value using PeopleCode?
&Token = token value;
&Request = CreateMessage(Operation.IB_GENERIC_REST_POST);
&Request.OverrideURIResource(Third party URL);