• 0
Votes
name

A PHP Error was encountered

Severity: Notice

Message: Undefined index: userid

Filename: views/question.php

Line Number: 191

Backtrace:

File: /var/www/html/cnasolution/site/application/views/question.php
Line: 191
Function: _error_handler

File: /var/www/html/cnasolution/site/application/controllers/Questions.php
Line: 419
Function: view

File: /var/www/html/cnasolution/site/index.php
Line: 315
Function: require_once

everybody

I'm trying to retrieve data from the deezer API via an HttpWebRequest, but the problem is that I have a response from the server but it doesn't send me any data... (Just the blank JSON)

Here is an image of a preview of a valid return via chrome: https://prnt.sc/r74jxl

And here's an image of the return on my invalid application: https://prnt.sc/r74kja

I tried with a WebClient, HttpWebRequest or RestCharp, I have the same result everywhere... if anyone would have a solution.

I think it comes from the header but I put all the necessary parameters if I'm not mistaken... Here is my code : https://prnt.sc/r74l4h

The headers of the page : https://prnt.sc/r74lsg & https://prnt.sc/r74m01

Download script demo [LINK] [Origin]
Download script demo [LINK 2] [Onedrive] Download script demo [LINK 2] [Google drive]