Parsing API not working from API service (NodeJS)
We have created an API service for accessing Zoho Recruit API and created OAuth using Self Client. Now when we try to upload a Resume using this endpoint
https://recruit.zoho.com/recruit/Candidates/actions/import_document, from our API service (NodeJS), we are getting a successful response including candidate id, but when we try to access the candidate data using candidate details API, we are getting 204 No Content.
We also have tried this using postman, it's working fine there. We also tried to access Resume Parsing API from our React App, but we are getting a CORS error, later found we need to get our OAuth using a Client Based Application, but we don't want to implement the Redirection flow.
I'm also attaching our NodeJS Code here, we have tried to send the file as buffer and stream, but none of these have worked.