We are restricting file name as 128 characters as maximum and url as 260. But when we are using the rest to update document or upload document with rest api of sharepoint it causes bad request. when appending the rest api url with filename and server relative url its exceeding more than 260 character. Please help me the possibilities.
Rest endpoint example : http://site url/_api/web/GetFolderByServerRelativeUrl('/Folder Name')/ListItemAllFields
Thanks.