Mira – Telegram
Mira
748 subscribers
824 photos
25 videos
20 files
267 links
sporadic attempts at life.
personal channel

files: @mira_files
playlist: @the_coding_playlist
Download Telegram
thenkk Netkas🫶

#shot
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
15😍2
apparently, haters won't wait for you till you reach your prime these days. lock in twin
17😁7💯6
so i was just using a simple API utility helper in my projects when i need fetch requests, and thought it'd be helpful if i enhance it and let others use it too. so if you have a usecase for it or not using tanstack, check it out

feats:

- Unified API wrapper: A single, strongly-typed interface for all HTTP methods (GET, POST, PUT, PATCH, DELETE, or your provided method). so no more repetitive fetch boilerplate.
- Type-safe requests and responses: uses TypeScript generics to ensure compile-time safety for both request bodies and responses.
- Structured error handling: Provides a custom ApiError with message, status, code, and optional details for consistent error management.
- Flexible content-type: Defaults to application/json but allows overrides for any content-type. Works with Blob, FormData, ArrayBuffer, and strings.
- Query parameter support: Accepts a query object and automatically serializes it into a URL query string.
- Base URL support: Easily prepend a base URL to relative endpoints to avoid repeating paths.
- Timeout support: Abort requests automatically using a timeoutMs option.

it's like 168 lines of code. so you can just copy and put it in some file.

repo:

- https://github.com/AmanuelCh/rest-fetch

#MyProjects #rest_fetch
8🔥1
Forwarded from Hafsa
17🔥1
i'll either steal my bro's car this year or die trying. done with the taxis 😭
Please open Telegram to view this post
VIEW IN TELEGRAM
😁22😢1
Please open Telegram to view this post
VIEW IN TELEGRAM
9🔥51
brain decides to sleep.
also brain: your_top_10_cannon_events (deluxe edition).mp4

we need to chill tf out bro 😭
Please open Telegram to view this post
VIEW IN TELEGRAM
😭8😁3
this was the first image i generated with ai using mid-journey in 2023
9
This media is not supported in your browser
VIEW IN TELEGRAM
😁13
real
🔥131
Forwarded from AfroSec
hellow from the server side 🫠🫠

feels good when u start to live ur dream🙃🙃

@AfroSec
🔥175
🎧
Please open Telegram to view this post
VIEW IN TELEGRAM
🤣303
ladies and gents, it's Friday once again. if you work remote, and don't go to school, you don't relate
😭3