Mudanças entre as edições de "Brapci:DOI"
Ir para navegação
Ir para pesquisar
(Criou página com ' = Reposta = HTTP/1.1 415 Unsupported Media Type Date: Tue, 21 Sep 2021 20:53:31 GMT Content-Type: text/plain; charset=utf-8 Transfer-Encoding: chunked Connection: keep-a...') |
|||
| (Uma revisão intermediária pelo mesmo usuário não está sendo mostrada) | |||
| Linha 1: | Linha 1: | ||
| + | |||
| + | = Recuperando arquivo via CURL no PHP = | ||
| + | $putdata = fopen("php://input", "r"); | ||
| + | while ($data = fread($putdata,1024)) | ||
| + | { | ||
| + | echo $data; | ||
| + | } | ||
| + | fclose($putdata); | ||
= Reposta = | = Reposta = | ||
| Linha 14: | Linha 22: | ||
X-Powered-By: Phusion Passenger 6.0.4 | X-Powered-By: Phusion Passenger 6.0.4 | ||
Server: nginx/1.14.0 + Phusion Passenger 6.0.4 | Server: nginx/1.14.0 + Phusion Passenger 6.0.4 | ||
| + | |||
| + | == Erros == | ||
| + | Metadata format not recognized | ||
Edição atual tal como às 21h08min de 21 de setembro de 2021
Recuperando arquivo via CURL no PHP
$putdata = fopen("php://input", "r");
while ($data = fread($putdata,1024))
{
echo $data;
}
fclose($putdata);
Reposta
HTTP/1.1 415 Unsupported Media Type Date: Tue, 21 Sep 2021 20:53:31 GMT Content-Type: text/plain; charset=utf-8 Transfer-Encoding: chunked Connection: keep-alive Status: 415 Unsupported Media Type Cache-Control: no-cache Vary: Accept-Encoding, Origin X-Credential-Username: username X-Request-Id: 919599c3-f593-455b-9e98-1f6dc9d19be4 X-Runtime: 0.003065 X-Powered-By: Phusion Passenger 6.0.4 Server: nginx/1.14.0 + Phusion Passenger 6.0.4
Erros
Metadata format not recognized