Posts

Showing posts from December, 2025

HTTP API METHODS/VERBS

how cool are PUT and PATCH!!  ✅ GET — read data Fetch a list: GET /users Fetch one: GET /users/42 Response: { "id" : 42 , "name" : "Karl" , "email" : "karl@example.com" , "active" : true } ✅ POST — create new resource POST /users { "name" : "Karl" , "email" : "karl@example.com" , "active" : true } Response (example): { "id" : 101 , "name" : "Karl" , "email" : "karl@example.com" , "active" : true } ✅ PUT — replace the entire resource PUT /users/42 { "name" : "Karl" , "email" : "karl.new@example.com" , "active" : false } Effect: user 42 is now exactly this . Anything omitted is gone. ALREADY KNOW THE URL ✅ PATCH — update part of the resource PATCH /users/42 { "active" : true...

Flutter Course

Image
https://www.youtube.com/watch?v=3kaGC_DrUnw 07:11   Widget is Capital Letter.   Argument use lowercase letter. 07:22  Data Types Map myMap = { }     //he's call this "map" Map myMap<String, dynamic> = { }     // 09:33  showDebugCheckedModeBanner: false.    This is in build CTRL space is a good one 11:43 end code with  ","   will tidy list up. 12:17 right click Container 13:31 decoration argument... but he says "BoxDecoration" is better 13:35 BorderRadius.circular(25.0)     ERROR!  can't have color AND decoration 15:12 padding  (is inside) double.infinity..  red box went massive. 16:22 margin.   Double box yellow in red. 16.52 Column has list of children.  Contain is one. double.infinity was a problem with 2 children.  Debug window helped. disappeared.  Added height came back.    19:52  mainAxis and crossAxisAlignment.start and e...