i have made a get request to the route called /fetch, where i am getting some information from the api and automatically save it to database, also i have another piece of api, which needed to POST this piece of information and also store it to database with first piece of code, so, how can i do this?
i created another rouute called Route::post and then in the controller make post function also and bring this code below, when i Die and Dump this i get NULL, but when i die and dump $post without ->json() or decode or something, i get some codes, but i cannot find some info from api in it (?) how can i do this? and also do i need another route for this? or can i use previuos route which i used for get request ?
$post = Http::post('some api')->json();