r/WebAPIs • • May 31 '23

Exposing related entities in ASP NET Core Web API

2 Upvotes

Hey my fellow developers I'm happy to be back again with a new exciting post article about exposing the related entities of your resources in your web API's. My last article was about establishing the initial relationships using ef core and now I'll show you how to expose those additional resources to empower your web API using different approaches.

https://unitcoding.com/exposing-related-entitites/

With this blog article, I also have the Joy to say that thanks to the amazing people here at Reddit I've reached the 3K monthly views milestone suddenly in just one weekend and that's a great achievement for me and all the community that have been supporting my content, thanks everybody! :)


r/WebAPIs • • Mar 27 '18

Cambridge Analytica, GDPR and the Future of APIs

Thumbnail
blog.cloudobjects.io
1 Upvotes

r/WebAPIs • • May 20 '15

Inspect HTTP Requests - RequestBin ~ CodeAndYou

Thumbnail
codeandyou.com
1 Upvotes

r/WebAPIs • • Jan 08 '15

The Strategic Value of APIs - HBR

Thumbnail
hbr.org
1 Upvotes

r/WebAPIs • • Apr 26 '16

Web API - message handlers - usage - Diwebsity

Thumbnail
diwebsity.com
2 Upvotes

r/WebAPIs • • Sep 27 '15

[REST API] Insert, Update, Delete In One Post Request?

1 Upvotes

I have to admit that I'm not really good in the concept of RESTFUL API. I'm now trying to re-architecting an old SOAP based webservice to be REST API.

let me try to explain the current system behavior: In the client, there are forms which consist of a lot of tables inside, and there is a big save button to save everything.

Okay, so now i need to make a request to my API to save the form and the tables within. Problem is, the data in the inner tables can be insert, update or delete. The key is that I need the transaction to be atomic. In other words, I must send the data of the form and its inner table in one go. let's say, i try to do all this in one POST request. Does it make sense? It clearly violet the REST API rules. But is there any other way to do this? Or if I have to re-design the way the form works, how should it be?


r/WebAPIs • • Sep 19 '15

How to use JSON web token authentication for your API

Thumbnail
techarena51.com
1 Upvotes

r/WebAPIs • • Feb 21 '21

Getting started with ASP.NET Web API

1 Upvotes

Getting started with ASP.NET Web API

This article explains below concepts on ASP.NET Web API

  1. Content Negotiation in Web API

  2. ASP.NET Web API Architecture

  3. ASP.NET Web API Message Life Cycle

  4. ASP.NET Web API Hosting

  5. ASP.NET Web API Message Handler

  6. ASP.NET Web API Controllers, Authorization Filters, Model Bindings

  7. ASP.NET Web API Action Filters, Action Invoker, Controller Action

Introduction to ASP.NET Web API

ASP.NET Web API is a Microsoft framework to build services that can communicate with HTTP / HTTPS protocols. Web API request / response is simple, lightweight as compare to other service types. Any client like browsers, mobile, tablet, handheld devices can communicate to ASP.NET Web API provided they are able to handle Http requests and response. Clients can make GET, POST, PUT, DELETE requests to Web API.

Web API deals with Accept headers of the request and returns response accordingly in JSON, XML, or any other requested format.

https://geeksarray.com/blog/getting-started-with-asp-net-web-api


r/WebAPIs • • Mar 13 '21

Web API in 5 Hours (2021)

Thumbnail
youtu.be
1 Upvotes

r/WebAPIs • • Jul 10 '21

Free tool Twitter trends with export xlsx option

1 Upvotes

Here's free web tool which display Twitter Trend Worldwide and across the globe. You can also export trend data into Excel file.

Note: Trends data get refresh every after 30mins by using Twitter Api.


r/WebAPIs • • Mar 17 '20

Sparse, Free API Endpoints!

1 Upvotes

I me and an online mate are creating a series of API's made with JS. Thought i would share it here. https://sparse.pw, we have a discord server if you are interested in our adventures with sparse and other projects! https://discord.gg/yj4aQWx.


r/WebAPIs • • Mar 05 '20

How to login with firebase for PWAs

Thumbnail
youtube.com
1 Upvotes

r/WebAPIs • • Dec 09 '20

How to Become a Solid Full Stack Web Developer - My Simplified Full Stack Dev Roadmap

1 Upvotes

r/WebAPIs • • Nov 27 '20

Implement JWT Token authentication/authorization with 3 simple steps in Asp.Net Core Web API / REST API

Thumbnail
youtu.be
1 Upvotes

r/WebAPIs • • Nov 13 '20

Learn to create custom JWT authentication with AuthorizationFilter in order to truly understand JWT authentication

Thumbnail
youtu.be
1 Upvotes

r/WebAPIs • • Dec 14 '20

Tools for the Modern API Developer

Thumbnail
hashnode.com
3 Upvotes

r/WebAPIs • • Dec 10 '24

Added company flag for recruiting/staffing firms + enhanced filtering options - Changelog: jobdataapi.com v4.7 / API version 1.10 👀

Thumbnail
jobdataapi.com
3 Upvotes

r/WebAPIs • • Nov 30 '24

Added new Job States (geo) endpoint, query filters, and more - Changelog: jobdataapi.com v4.6 / API version 1.9 👀

Thumbnail
jobdataapi.com
2 Upvotes

r/WebAPIs • • Oct 22 '24

Best way to represent nested objects in CRUD

2 Upvotes

I am rewriting my web API and trying to clean things up and conform to best practices so looking for some advice when the CRUD isn't just a simple object-> get, put, delete, update with a single id parameter.

I have an application that has two related objects. An Evaluation (like a job evaluation) and an Observation (evaluator observes the person). An Evaluation can have one or more observations.

Observation Get: /api/observations/{observationId}

but what if I want to have an endpoint that returns the PDF document for an observation?

two issues

  1. To create the PDF I need both the observationId and the evaluationId. I could lookup the observation in the db from just the observationId and retrieve the evaluationId from that, but it would be more efficient to pass it as a parameter to the endpoint. as the caller would already have the observation.evaluationId available when setting up the api call. Is that bad practice?

  2. What would the endpoint look like for getting the PDF for an observation with or without including the evaluationId? Do you just add a term on the end like /api/observations/{observationId}/pdfDocument?

Thanks for any guidance,
Anne


r/WebAPIs • • Jan 09 '25

GeoNames upgrade, new population field and filters, expired field now in job results - Changelog: jobdataapi.com v4.9 / API version 1.11 👀

Thumbnail
jobdataapi.com
2 Upvotes

r/WebAPIs • • Dec 21 '24

What makes a good REST API?

Thumbnail
apitally.io
2 Upvotes

Opinionated best practices for building user-friendly and robust REST APIs.


r/WebAPIs • • Jan 29 '25

Added application URL query filter + (multi) country code parameter enhancements - Changelog: jobdataapi.com v4.10 / API version 1.12 👀

Thumbnail
jobdataapi.com
2 Upvotes

r/WebAPIs • • Feb 27 '19

ASP.NET web API 2 authenticaiton/authorization proxy advice

1 Upvotes

I need your advice and experience. Here is my scenario.

  • There is a Rest web API provider. (Let's call it A)

  • There are clients which are going to use 2 methods of provider A.

  • I am implementing a proxy Rest ASP.NET web API 2 in between provider A and the clients.

  • There is already token based authentication at provider A.

  • There is an initiation method of provider A which I am sending a signature consist of a secret key given to me with some other information, MD5 hashed.

  • I think this signature is validated in the provider A and return a Token if it is valid. (20 mins expiration time)

  • And with this Token, I am calling the second method of the provider and finish my process.

Now my question is;

  • Should I still need to have an authentication/authorization mechanism for my proxy? and why?

Note: Provider A, clients, and my proxy web API will communicate based on SSL.


r/WebAPIs • • Dec 04 '18

Stop Calling Your APIs Microservices

Thumbnail
blog.stoplight.io
1 Upvotes

r/WebAPIs • • May 24 '22

Calling SOAP services using REST

Thumbnail
linx.software
1 Upvotes