Ask Your Question
4

What is the problem with the URL in Axios when it has a strong #?

asked 2023-03-30 11:00:00 +0000

pufferfish gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2021-11-15 06:00:00 +0000

lalupa gravatar image

The problem with the URL in Axios when it has a strong # is that the browser treats the # as an anchor tag and navigates to that part of the page. This means that the URL will not be sent to the server and Axios will not be able to make the request. Instead, the browser will handle the URL on its own without involving Axios.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-03-30 11:00:00 +0000

Seen: 12 times

Last updated: Nov 15 '21