Skip to content
Advertisement

Tag: postdata

Laravel CURL – Passing a string to HTTP URL (Postfields)

I use Laravel 9 and the built-in method Http::withHeaders ($headers)->post($url, $data). In the $data variable, I pass the string that resulted from http_build_request with the “&” separator. But Laravel tries to make an array out of it and send data. The API service returns me an error. Please tell me how you can force Laravel to pass exactly a STRING(!),

send data using flutter-inappwebview to web page

I’m using inappwebview package, which opens a web page. I want to receive some data from my Flutter app to my web page (php/html) or there’s may be some better option? Basically the user select a product in the app and then the inappwebview package will open this web page to show some specific products). I have found that inappwebview

Advertisement