Tuesday 24 July 2018

Manually make a put request from the browser

Hi, I have a website where logged in users can like posts. If a user is logged in a button with an event listener (that fires an ajax call) attached to it is displayed. If the user isn't logged in a button with nothing is displayed to him. I was just wondering if this solution works. Could a user that isn't logged in somehow send that put request to the server?Thank in advance ;)

Submitted July 24, 2018 at 02:29PM by everek123

No comments:

Post a Comment