I am developing one React application, using the fetch API, I am sending one request along with some query parameters in the URL to server. Getting 400 bad request when the length of the characters in the URL exceeds 7700 characters in the chrome browser.
const requestOptions = {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ parametername: parametervalue})
};
fetch(URL, requestOptions)