We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a7898e commit 3036deaCopy full SHA for 3036dea
1 file changed
src/Utilities/api.js
@@ -95,8 +95,8 @@ export const fetchCvesInfo = async ({ cveIds }) => {
95
method: 'POST',
96
credentials: 'include',
97
headers: {
98
- Accept: 'application/json',
99
- 'Content-Type': 'application/json'
+ Accept: 'application/vnd.api+json',
+ 'Content-Type': 'application/vnd.api+json'
100
},
101
body: JSON.stringify({ cve_list: cveIds })
102
}).then(res => res.json()).then(data => data).catch(err => err);
0 commit comments