I tried to call the url:
https://acpt.io/wp-json/api/v1/plugin/download?license=xxx&user_id=yyy
Request:
{
"method": "GET",
"timeout": 300,
"redirection": 5,
"httpversion": "1.0",
"user-agent": "WordPress/6.1.1; https://acpt.io",
"reject_unsafe_urls": true,
"blocking": true,
"headers": [],
"cookies": [],
"body": null,
"compress": false,
"decompress": true,
"sslverify": true,
"sslcertificates": "/home/acptio/public_html/wp-includes/certificates/ca-bundle.crt",
"stream": true,
"filename": "/tmp/download-IDNeoh.tmp",
"limit_response_size": null,
"_redirection": 5
}
I got this response:
```{
"headers": {},
"body": "",
"response": {
"code": 503,
"message": "Service Unavailable"
},
"cookies": [],
"filename": "/tmp/download-IDNeoh.tmp",
"http_response": {
"data": null,
"headers": null,
"status": null
}
}
If I call the same URL by curl or by calling it via browser, the file is correctly downloaded.
Any ideas?