#WebAPI

Inautiloinautilo
2025-07-09


Influence the State of HTML 2025 survey · Which new HTML features or Web APIs are on your radar? ilo.im/1658sh

_____

xoron :verified:xoron@infosec.exchange
2025-06-21

File encryption with a browser.

I've been exploring the #WebCryptoAPI and I'm impressed!

When combined with the #FileSystemAPI, it offers a seemingly secure way to #encrypt and #store files directly on your device. Think #localstorage, but with #encryption!

I know #webapps can have #security vulnerabilities since the code is served over the web, so I've #OpenSourced my demo! You can check it out, and it should even work if #selfhosted on #GitHubPages.

Live Demo: dim.positive-intentions.com/?p

Demo Code: github.com/positive-intentions

Hook Code: github.com/positive-intentions

IMPORTANT NOTES (PLEASE READ!):
* This is NOT a product. It's for #testing and #demonstration purposes only.
* It has NOT been reviewed or audited. Do NOT use for sensitive data.
* The "password encryption" currently uses a hardcoded password. This is for demonstration, not security.
* This is NOT meant to replace robust solutions like #VeraCrypt. It's just a #proofofconcept to show what's possible with #browser #APIs.

#Encryption #Cryptography #JavaScript #Frontend #Privacy #Security #WebDevelopment #Coding #Developer #Tech #FOSS #OpenSource #GitHub #MastodonDev #Programming #WebStandards #FileSystem #WebAPI #ProofOfConcept

TechKeysXTechKeysX
2025-06-04

Using JsonPropertyName to map Json to Class C# Tip #42 - How to use the [JsonPropertyName] attribute in C# to map mismatched JSON fields (like "id") to class properties (like UniquePostId) during deserialization.

Chris Woody Woodruffcwoodruff
2025-05-09

OData Template Preview is live! Scaffold APIs in .NET 8+ with query options ($filter,$select,$expand), batch support, Swagger & case-insensitive routing. Install with
`dotnet new install Microsoft.OData.WebApiTemplate`

devblogs.microsoft.com/odata/a

JuanluElGuerre :verified:JuanluElGuerre@hachyderm.io
2025-05-07

I was writing yet another JsonConverter<T>... until I discovered how .NET handles polymorphic serialization with just two attributes 😲

Here’s how I ditched boilerplate & made my APIs cleaner with [JsonPolymorphic] + [JsonDerivedType] 🚀👇
wp.me/p29SK-ZB
#DotNet #CSharp #SystemTextJson #WebAPI #CleanCode

2025-04-26

Scalar на замену Swashbuckle в .NET 9 и как это готовить с Design API First

Рассказываю чем заменить Swashbuckle, который убрали из .Net 9, для создания страницы похожей на Swagger UI.

habr.com/ru/articles/904738/

#web_api #aspnet_core #swagger #open_api #net_9 #dotnet_core #dotnet #typespec #webapi #openapi

Rafael Perezrperezrosario
2025-04-08

Software Consultant Bipin Joshi summarizes new OpenAPI document generation options and configurations when writing .NET Core web apis using .NET Core 9. He also shows how to read and visualize the generated document using Swagger.

Automatic OpenAPI document generation also facilitates integration with existing endpoint testing software, such as Scalar.

"Understand OpenAPI document generation in ASP.NET Core"

binaryintellect.net/articles/4

Rafael Perezrperezrosario
2025-04-07

An ASP.NET Core Web API of my authorship to access and manipulate project data using EF Core, and JWT on a PostgreSQL or SQL Server database.

github.com/rperez-rosario/XPM_

2025-03-24

Having played a bit I'm now adding #OpenAPI docs with #Swagger UI to #Autonomi dweb using #utoipa and #utoipauto.

EDIT: switched from #utoipauto to #utoipa_actix_web

I'm neither a user nor, until now a builder of HTTP APIs so stumbling around, but these crates do a decent job of being usable even to a novice.

I really shouldn't be let loose with all this :rofl:

#Rustlang #REST #WebAPI

Chris Woody Woodruffcwoodruff
2025-03-24

Code on Demand is REST’s wildcard—optional but powerful. It lets servers send executable code to clients for enhanced functionality when needed. Want to know when, why, and how to use it effectively? Check out the latest post!

htmx up next!

woodruff.dev/rest-constraint-6

Chris Woody Woodruffcwoodruff
2025-03-23

REST’s layered system is all about flexibility and scale. You can improve performance, security, and scalability by stacking components like gateways and load balancers without messing with the core API. Curious how this works? Check out my latest post!

woodruff.dev/rest-constraint-5

Chris Woody Woodruffcwoodruff
2025-03-22

Caching is what makes REST APIs lightning fast. Performance gets a huge boost by sending clients reused responses instead of constantly asking servers. Want to see how caching works and why it matters? Check out my latest post!

woodruff.dev/rest-constraint-4

Chris Woody Woodruffcwoodruff
2025-03-21

Going stateless is one of REST’s secret weapons. Treating each request as independent makes APIs more scalable, reliable, and easier to cache. Want to know why statelessness is such a big deal? Read the post!

woodruff.dev/rest-constraint-3

Chris Woody Woodruffcwoodruff
2025-03-20

Client-server separation is the secret sauce behind REST’s scalability. By keeping the UI and data storage separate, each can evolve independently. Want to know why this design choice is such a game-changer? The blog post will explain a lot.

woodruff.dev/rest-constraint-2

Chris Woody Woodruffcwoodruff
2025-03-18

Great APIs aren’t about cramming in features—they’re about keeping things simple. Clear URLs, predictable responses, and a clean structure make all the difference. Want to know why simplicity wins in design? Check out my latest post!

woodruff.dev/restful-api-desig

2025-03-11

I am in the situation that I need to talk to a #WebAPI that I am not familiar with (PlayFab). The documentation could be better, so there is a lot of stuff that I need to find out by trial-and-error.

Some weeks ago I bought an issue of the c't magazine - the only one I bought in years - that by chance had an article about a tool for such a situation: #Bruno (usebruno.com/).

After playing around a bit with it: Full recommendation.

#GameDev

2025-03-01

Lapidary-render 0.12.0 is now released.

To the best of my knowledge it's the only #codeGenerator that properly handles #jsonSchema anyOf and allOf.
Also has support for oneOf, but not per the specs.

github.com/python-lapidary/lap

#pythonLapidary #openAPI #openAPI3 #openAPI30 #programming #python #webAPI

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst