Search found 3 matches

by helloworld
Thu Nov 17, 2016 8:58 pm
Forum: Bullhorn APIs
Topic: Resume Parser API returns No file uploaded error (PHP)
Replies: 3
Views: 5781

Re: Resume Parser API returns No file uploaded error (PHP)

@lokuber I figured it out... The issue was that for PHP5.5+, the function curl_file_create has to be used to post files. Using the following post fields would work: if (function_exists('curl_file_create')) { // php 5.5+ $curl_file = curl_file_create($filetarget); // $filetarget is the real path of t...
by helloworld
Thu Nov 17, 2016 8:34 pm
Forum: Bullhorn APIs
Topic: Resume Parser API returns No file uploaded error (PHP)
Replies: 3
Views: 5781

Re: Resume Parser API returns No file uploaded error (PHP)

Hi @lokuber, Thanks for your reply! No $filedata was the 'tmp_name' property of the posted file. I've tried file_get_contents as well as adding the headers you've mentioned, but it's still not working. Using Postman, I was able to get a valid response by simply posting to the API with default header...
by helloworld
Thu Nov 17, 2016 12:52 am
Forum: Bullhorn APIs
Topic: Resume Parser API returns No file uploaded error (PHP)
Replies: 3
Views: 5781

Resume Parser API returns No file uploaded error (PHP)

I'm trying to post to the Resume Parser service but keep getting a No file uploaded error. I have a feeling that I'm not properly formatted the post data. Any help will be appreciated. URL: ../resume/parseToCandidate?BhRestToken=xxx&format=PDF" PHP Code: $postfields = array( "file" => '@' . $filedat...