What endpoints should I provide, if any, to permit connectivity testing for my web services?
What endpoints should I provide, if any, to permit connectivity / availability testing for my web services / Web API?
Is it OK to partially change a collection with PUT or DELETE?
I have a collection of products in a product group e.g.:
How can I unit-test my REST web service?
I am new to unit testing, I’ve one REST web method that just calls DB and populates a DTO. Pseudo code is
Best practice for handling asynchronous inter communication?
Recently completed a project for handling credit card processing. One of the difficulties I faced was handling the delay / possible failure of notification messages. The most complex example was:
Custom use of Authorization header in a REST API
I’m building a REST api where clients are authenticated using client certificates. A client in this case is not an individual user, but some sort of a presentation layer. Users are authenticated using a custom approach and it’s the responsibility of the presentation layer to see that this is properly done (note: I know this is not the proper approach, but the api is not public).
Are there any problems with implementing custom HTTP methods?
We have a URL in the following format
How to decide the token expiry time in REST web service
I am working on creating a REST ws exposing few API’s. A token is required for each API call. I am confused about the expiry time to be set for the token.
Custom functions in a REST API
Looking at two of our entities Company
and Address
. A company has a billingAddress
and a profileAddress
.
Is this solution RESTful and secure?
Our product registers new players on our service, and we’ve chosen to host it on Azure (we’re using .NET) and we wanted it to be stateless (for scalability) and relatively secure.
Creating an entity relationship in REST: May I create the parent by posting to a child id?
We are currently designing a REST API to access classical customer data.
One of the elements in the API are the assets of an user. The assets are added under a given service. The backend API will only add an asset to an user under a given service. So, there’s no User–Asset relation, but a User–[Service]–Asset relationship.