0
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,
[email protected] and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.</p>
<p>More information about this error may be available
in the server error log.</p>
<p>Additionally, a 500 Internal Server Error
error was encountered while trying to use an ErrorDocument to handle the request.</p>
<hr>
<address>Apache Server at domain.com Port 80</address>
</body></html>
iOS開発者がPHPサーバに画像を送信しようとしました。しかし、彼らは上記のようなエラーを受けていますiOSデバイスからphpサーバに画像をアップロード中にエラーが発生しましたか?(500内部サーバエラー)
どうすればこの問題を解決できますか?
iOSコード問題またはPHP側の問題ですか?郵便配達員による
このURLを使用することによって、彼らは私に複数の画像を送信しているが、それは、単一の画像であれば、それは正常に動作しますが、それは働いていない複数の画像送信しようとしています:https://charangiri.wordpress.com/2014/09/22/how-to-upload-multiple-image-to-server/
両側にある可能性があります。使用しているAPI URLが正しいことを確認してください。まず作成したAPIがあなた自身でPostmanでチェックしたり、最後にカールリクエストを使って確認したりします。サーバー上に画像をアップロードすることができれば、あなたのAPIは完璧です。 iOS開発者は間違いを犯しています。 – Jassi
私はPOSTMANのスクリーンショットを投稿しました。一度確認してください: –
このURLを使用すると、複数の画像を送信していますが、1枚の画像であればうまくいきますが、複数の画像を送信しようとしている場合は、https://charangiri.wordpress.com/2014/09/ 22/how-to-upload-multiple-image-to-server/ –