mercredi 27 décembre 2017

Laravel using Arabic characters as query parameters

I'm testing my Laravel Lumen API with Postman, my controller retrieve data from database using url query parameter like below

$router->get('/ByName/{contactGov}', 'ByNameController@list'); 

My url in Postman is http://localhost/apitest/public/ByName/BGD and every thing works fine but when i use Arabic characters like http://localhost/maarath/public/ByName/بغداد there will be no response with error : There was an error connecting to http://localhost/apitest/public/ByName/%D8%A8%D8%BA%D8%AF%D8%A7%D8%AF.

So what i'm missing



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2zBoZ2x
via IFTTT

Aucun commentaire:

Enregistrer un commentaire