2Answers HttpURLConnection with JSON on Android 9, API 28 [duplicate] 16k Views 7 Mikhail Liavits A PHP Error was encountered Severity: Notice Message: Undefined index: userid Filename: views/question.php Line Number: 191 Backtrace: File: /home/prodcxja/public_html/questions/application/views/question.php Line: 191 Function: _error_handler File: /home/prodcxja/public_html/questions/application/controllers/Questions.php Line: 433 Function: view File: /home/prodcxja/public_html/questions/index.php Line: 315 Function: require_once Asked: May 17,2020 In: Android 2 Answers Mikhail Liavits Punditsdkoslkdosdkoskdo Asked: May 17,2020 In: Android HttpURLConnection with JSON on Android 9, API 28 [duplicate] This question already has answers here: java android json httpurlconnection Your reply on this question: Add Reply Cancel Mikhail Liavits May 17,2020 As I wrote it stops on OutputStream os = urlConnection.getOutputStream();. That part is not executed and nothing happens, app doesn't crash, just that part is not executed. 2 Thoma Dawidziak May 17,2020 How is this "not working"? Crash? Unexpected behavior?