Create api for user on PterodactylIn ApiKeyController add: public function storeforuser(StoreApiKeyRequest $request, int $userId): array { $user = User::find($userId); if (!$user) { throw new DisplayException('User not found.'); } if...1 min read·cbm.devJul 14, 2025
Parsing multi dimensional json in classic aspHad to do some new stuff to our old classic asp site. Wrote a SQL query which returned json, this had to be parsed and put into a Google graph component. Spent a shit load of time to get to know aspJson and figure out how to get my data. This is what...1 min read·cbm.devApr 4, 2024