Skip to content
Advertisement

Tag: http

Access data in URL using GET and send it to database using POST

I am sending an id using the url. However, i can only access the $GET[‘id’] variable when the page loads. When I go on to submit the form, the variable is undefined. What could be the problem Answer When you build the form, the target should include the GET parameter too. This is how GET parameters are passed around. $_POST

what does $_GET[‘2020’] mean? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 1 year ago. Improve this question a challenge like this $_GET[‘2020’] snippet boring me a long time, i want to know how this work, but do not know which keywords to

type ‘_InternalLinkedHashMap’ is not a subtype of type ‘FutureOr<List>’

I have a Problem with my json.decode. I want to get some data from my website but when my website says {“Number”:5} i only get this error (type ‘_InternalLinkedHashMap<String, dynamic>’ is not a subtype of type ‘FutureOr<List>’). However if my website says string{“Number”:5} i get the correct output and this error FormatException: Unexpected character (at character 1). Here is my

Convert PHP HTTP request to Guzzle

I currently have an old PHP page which carries out a post request to an external API but i am wanting to convert this to Guzzle to tidy it up but im not sure if im on the right lines with this. PHP …

Making a web page cache even if the parameters change

Is there a way to get a browser to cache a web page even if the parameters change? I have a web assembly app that takes parameters. If the parameters change, the browser forces a download. Is there any way I can set headers so that the parameters aren’t a factor in caching? i.e. if I do and …the browser

PHP Curl – Received HTTP/0.9 when not allowed

I stumbled over a weird behavior when I try to send a post HTTP/2.0 request to apples push service: The exception is thrown with the Message: Curl failed: Received HTTP/0.9 when not allowed | 0 I explicitly told curl to use HTTP/2.0 on the second line of the code snipped above. Does anyone have any idea what that error message

Advertisement