是<a> tag post method or get method?

时间:2019-02-15 15:02:01

标签: post get atag

I was working on a Spring Security logout with React.js and used the tag to send a /logout request cause axios didn't seem to work with the post method. isn't it supposed to be a post method to access the logout() method with the default "/logout" request? the tag seems to be working like the post method but I wasn't sure.

So, my question is, is the tag get method, post method or none of these?

1 个答案:

答案 0 :(得分:0)

获取。 打开网址是一种get方法,我认为同样适用于重定向。

相关问题