I’m using rest calls for different need. For one of them, I’m calling a baq with a parameter (partnum list delimited by a tild. Example: XXX-023_05~XXX-023_08~XXX-023_09~XXX-163B). When the parameter lenght is over 2030 characters, I get an 404 - File or directory not found.
What would be the best approach in that case? Should I make multiple call?
Are you url encoding the parameter? I think the ~ might be messing with it
The tilde is often used to reference the home directory of a website, which would make me think that’s why you’re getting a directory not found error since the web server is interpreting the tilde as "go to home directory and then find resource XXX-163B
I’m using @josecgomezEpicor Rest Helper (Nuget) Updated V2 BaqGetAsync call. Bottom line, there is no problem with the tilde. By the tests I made, when I hit 2030 (approx.) I get an error. I have shrink down the list of value (characters) until a point where the call is ok.