#### Category : httprequest

I’m using Ionic with Vue 3 and Axios to post data. I have this in my post request: axios.post(url, {name, image}); And I get them in my PHP side like this: echo $request->input("name"); echo$request->file("image"); I’m able to get the name but the problem is that I can’t get the image. I can see that ..

I’m making a coding challange website, where user can send in his code, then it is compiled and tested with given test cases. For code compiling i’m using Judge0 API (https://ce.judge0.com/) This is how I get/post to the API: public function testCode($languageId,$code, $stdin = null) {$response = Http::withHeaders([ ‘x-rapidapi-key’ => $this->token, ‘x-rapidapi-host’ => .. Read more There are two Laravel applications which will be communicating frequently (several calls per minute). The calls read/write data between the two systems and are located on the same server. I have no experience of such communication on production environment. After doing some research, I started by making an http request between the two systems. The .. Read more I want to get the method type (POST and PUT) of previous URL in Laravel. For ex. I have used Resource routes. So let’s assume there are 2 pages Create Product and Edit Product. Both pages contains a form. Once that form is submitted to respected routes (store and update), it calls to index action .. Read more I spend hours of time to find out how it works. But no luck. Maybe you can help me? I send a upload with POST request to Laravel. This is my Angular Observable: const formData: FormData = new FormData(); formData.append(‘file_name’, file.name); In Console.log I get file.name and all seems correct. This is my Post: const .. Read more I spend hours of time to find out how it works. But no luck. Maybe you can help me? I send a upload with POST request to Laravel. This is my Angular Observable: const formData: FormData = new FormData(); formData.append(‘file_name’, file.name); In Console.log I get file.name and all seems correct. This is my Post: const .. Read more I spend hours of time to find out how it works. But no luck. I send a upload with POST request to Laravel, but formData.append() in Angular send to RestApi has empty request. Why? This is my Angular Observable: const formData: FormData = new FormData(); formData.append(‘file_name’, file.name); In Console.log I get file.name and all seems .. Read more I want to send a JSON request to an endpoint but the results that I get don’t match the parameters requested. This is the array$datas = [ “institutionCode” => $institutionCode, “brivaNo” =>$brivaNo, “custCode” => $custCode ]; This is the response using Guzzle HTTP try {$response = $client->request($verb, \$endpoint, [ “headers” => [ ..