skip to Main Content

How to send http request in flutter

session.post( 'http://myopencart.example.com/index.php?route=api/cart/add', params={'api_token':'768ef1810185cd6562478f61d2'}, data={ 'product_id':'100' 'quantuty':'1' } ) How to I post this in flutter. In this api there is two type of data to be posted. I need solution for this I didn't tried yet.

VIEW QUESTION

Can't update user on the server but works on localhost using Laravel

I'm working on an api and a lot of it works great, but for some reason I cannot update the members. This is the route: Route::prefix('member')->group(function () { Route::post('login', [AppHttpControllersApiMemberAuthController::class, 'login']); Route::post('register', [AppHttpControllersApiMemberAuthController::class, 'register']); Route::middleware('auth:member_api', 'member.auth.api')->group(function () { Route::get('/', [AppHttpControllersApiMemberAuthController::class,…

VIEW QUESTION
Back To Top
Search