Krishiv111 / liverpoolkm3

This is my personal blog for APCSA where I document my grows and glows as a student with all my learnings in java.
MIT License
0 stars 1 forks source link

Inidivual Errors #2

Open Krishiv111 opened 8 months ago

Krishiv111 commented 8 months ago

This are some of the errors I had during the process

  1. Post Method Error 500 internal error Server image

Screen Shot 2023-11-03 at 9 31 38 AM

  1. CORS Error
    • I also had a cross origin error while trying to fetch from the frontend connecting the backend of my API, this was due to security issue leading to cross origins, this was an issue that we talked to a lot of groups about and were stuck on for many days, and came to realize that our backend wasn't allowing access to our frontend creating an issue. image
    • This is the code I had to add in order to make this work and get a output in get and fetch.
Screen Shot 2023-11-03 at 9 37 32 AM Screen Shot 2023-11-03 at 9 39 09 AM