You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi there - I'm trying to learn how to inspect the request from the Indeed API.
So far I've been configuring Postman with the following cURL:
curl --location 'https://apis.indeed.com/graphql' \ --header 'Host: apis.indeed.com' \ --header 'content-type: application/json' \ --header 'indeed-api-key: 161092c2017b5bbab13edb12461a62d5a833871e7cad6d9d475304573de67ac8' \ --header 'accept: application/json' \ --header 'indeed-locale: en-US' \ --header 'accept-language: en-US,en;q=0.9' \ --header 'user-agent: Mozilla/5.0 (iPhone; CPU iPhone OS 16_6_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 Indeed App 193.1' \ --header 'indeed-app-info: appv=193.1; appid=com.indeed.jobsearch; osv=16.6.1; os=ios; dtype=phone' \ --data '{ "query": "query GetJobData { jobSearch( what: \"software engineer\" location: {where: \"San Francisco, CA\", radius: 50, radiusUnit: MILES} limit: 100 sort: RELEVANCE ) { pageInfo { nextCursor } results { trackingKey job { source { name } key title datePublished dateOnIndeed description { html } location { countryName countryCode admin1Code city postalCode streetAddress formatted { short long } } compensation { estimated { currencyCode baseSalary { unitOfWork range { ... on Range { min max } } } } baseSalary { unitOfWork range { ... on Range { min max } } } currencyCode } attributes { key label } employer { relativeCompanyPageUrl name dossier { employerDetails { addresses industry employeesLocalizedLabel revenueLocalizedLabel briefDescription } images { headerImageUrl squareLogoUrl } links { corporateWebsite } } } recruit { viewJobUrl detailedSalary workSchedule } } } } }" }'
Which gives the following error:
POST https://apis.indeed.com/graphql: { "Error": "write EPROTO 1305675172704:error:10000410:SSL routines:OPENSSL_internal:SSLV3_ALERT_HANDSHAKE_FAILURE:../../../../src/third_party/boringssl/src/ssl/tls_record.cc:592:SSL alert number 40\n", "Request Headers": { "host": " apis.indeed.com", "content-type": " application/json", "indeed-api-key": " 161092c2017b5bbab13edb12461a62d5a833871e7cad6d9d475304573de67ac8", "accept": " application/json", "indeed-locale": " en-US", "accept-language": " en-US,en;q=0.9", "user-agent": " Mozilla/5.0 (iPhone; CPU iPhone OS 16_6_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 Indeed App 193.1", "indeed-app-info": " appv=193.1; appid=com.indeed.jobsearch; osv=16.6.1; os=ios; dtype=phone", "postman-token": "1db8bbe3-2d22-4a1b-a89d-7a5e39bcd5ab", "accept-encoding": "gzip, deflate, br", "connection": "keep-alive" }, "Request Body": "{\n \"query\": \"query GetJobData { jobSearch( what: \\\"software engineer\\\" location: {where: \\\"San Francisco, CA\\\", radius: 50, radiusUnit: MILES} limit: 100 sort: RELEVANCE ) { pageInfo { nextCursor } results { trackingKey job { source { name } key title datePublished dateOnIndeed description { html } location { countryName countryCode admin1Code city postalCode streetAddress formatted { short long } } compensation { estimated { currencyCode baseSalary { unitOfWork range { ... on Range { min max } } } } baseSalary { unitOfWork range { ... on Range { min max } } } currencyCode } attributes { key label } employer { relativeCompanyPageUrl name dossier { employerDetails { addresses industry employeesLocalizedLabel revenueLocalizedLabel briefDescription } images { headerImageUrl squareLogoUrl } links { corporateWebsite } } } recruit { viewJobUrl detailedSalary workSchedule } } } } }\"\n}" }
Any idea what could be wrong? Or is there an easier way to inspect the API from Indeed?
Beta Was this translation helpful? Give feedback.
All reactions