Fetch
Get the result/status of a submitted task.
POST
https://api.apiframe.pro/fetch
Headers
Name
Value
Content-Type
application/json
Authorization*
Your APIFRAME API Key
Body
Name
Type
Description
task_id
*
string
The task_id of the task
Response
{
// The data depends on the type of the original request
// You can see the different results on each endpoint page
}
Code samples
const axios = require('axios');
let data = JSON.stringify({
"task_id": "29e983ca-7e86-4017-a9e3-ef6fe9cd5f2a"
});
let config = {
method: 'post',
maxBodyLength: Infinity,
url: 'https://api.apiframe.pro/fetch',
headers: {
'Content-Type': 'application/json',
'Authorization': 'YOUR_API_KEY'
},
data : data
};
axios.request(config)
.then((response) => {
console.log(JSON.stringify(response.data));
})
.catch((error) => {
console.log(error);
});
Last updated
Was this helpful?