Troubleshooting Token Authorization for Web Form Actions

In this meeting, the State Changers discuss a problem with a generic form submission tool. The tool does not include a way to insert headers, and the participants discuss the need to include a token in the header to update the back end with necessary information. The meeting participants go through some code modifications to solve the issue. They add a token variable for Ajax to use, remove unnecessary code, and add a headers section with authorization information using the token. They also clarify that the token should be saved in local storage and referenced in the header. The participants discuss a similar situation with favorites on another API and confirm that the token should be in the headers rather than the data section. The meeting ends with the participants agreeing that the issue has been resolved.

(Source: Office Hours 3/24 )

State Change Members Can View The Video Here

View This Video Now

Join State Change Risk-Free