I need to upload cvs/json file directly to parse table to populate data (bulk insert) from client side website
As per parse documentation, it seems below curl command can upload a file but it's not clear how to point to a specific parse table.
Is there an equivalent code snippet to call below curl command from java script as i need to make this call from client side website to accept cvs/json file as input and load data
curl -X POST \
-H "X-Parse-Application-Id: X4ja65SBrNUK88zGBAQgIuR9FWdnvk1QZssZehzu" \
-H "X-Parse-REST-API-Key: EQVLrkxQRsbiLubm6pY3VVLZkm9a4V0n63cPWrqA" \
-H "Content-Type: text/plain" \
-d 'Hello, World!' \
https://api.parse.com/1/files/hello.txt