How to upload a file in Monday using api. I am using react to do so

@YuvrajSinghRajput I doubt very much that you can just specify a location on your HDD and hope for the best. You’ll need to add the content of the file to the request and post it to https://api.monday.com/v2/file.

If CORS is a problem that suggests you’re doing this client side, you’ll probably want some server side code to perform this operation.

Take a look at this example for clues: