You need to sign in to do that
Don't have an account?
Hithesh Saicharan
parameter max size limit for post call in APEX callout
I want to post some data to EHR in call out. The data I am having is nearly 5000 characters of length and it cant be split up. It has to be sent in single attribute named "Description". I am not able to find the max character limit which can be send in a single attribute in APEX.
Searching over internet but couldn't find any documentation stating the limit for max characters in a single parameter in POST call.
For POST call,the recommendation is to limit the URI to 2000 bytes, and headers to 8000 bytes.
Reference: https://salesforce.stackexchange.com/questions/195449/what-is-the-longest-uri-that-salesforce-will-accept-through-the-rest-api/195450
Related: https://salesforce.stackexchange.com/questions/78203/restcontext-requestbody-size-limit
If this information helps, please mark the answer as best. Thank you