Skip to main content

Questions tagged [client]

It refers to client-server model where service requester is called client.

-2votes
1answer
192views

Are there some best practices how to build a client library for an API?

I was tasked to create an API client library for our already existing API. I tried to research some ways how to approach this but couldn't find anything. Are there some best practices how to build ...
user3630290's user avatar
1vote
2answers
3kviews

How to represent the absent of a field value in json response?

I am a react developer and writing the client on pure JS. I have sometimes missions to received data from server and send data to server. Now between the client team and backend rough discussion ...
Brk's user avatar
  • 31
0votes
1answer
136views

Microservice & Clients interaction : Best way to persist previous API state information in successive API calls

Problem We have multiple microservices, like Home, Menu & Cart, exposed via Gateway. Each one has API exposed to the app. Now, each API has certain information that is needed by the successive API....
addy's user avatar
-1votes
1answer
205views

Auth flow between two services

We have two applications, each of them separated with its own backend and frontend. The first application is the user-facing one. They register on the site and as soon as they want to execute a ...
Matias's user avatar
0votes
1answer
147views

Decoupling data validation from data processing

I'm trying to implement a web service API client using the guidlines i've found in this article: https://www.oreilly.com/library/view/designing-evolvable-web/9781449337919/ch09.html As it comes to my ...
hardhypochondria's user avatar
0votes
3answers
180views

Communicating error conditions in client API for remote RESTful server, what's the best way?

I'm writing an application based on a RESTful API located in a server (written in Python). An Android app will access the API endpoints to get, post, put or delete data. The usual. The server has a ...
ismarlowe's user avatar
0votes
4answers
161views

Should I Decompose Client Classes?

I'm writing an SDK for the European Space Agency's DISCOs API. This has around 10 endpoints with different sets of query parameters, each of which returns a different payload type with different link ...
ScottishTapWater's user avatar
2votes
2answers
203views

API design: how to minimize client support?

I am tasked with designing an API for a car registration service. I don't have all the details yet, but we will receive requests from car dealers via API that my client will then process and forward ...
Hans's user avatar
  • 416
-3votes
1answer
207views

How do client-side libraries prevent spoofing? [closed]

I'm looking at Segment's documentation right now and they have something called a "write key" that you include in your client-side JavaScript in order to send analytics data to the backend. ...
Gopal Vashishtha's user avatar
0votes
3answers
185views

Should the client silently fix a possible error or should it let the user of the client know about the error?

I'm building a client for an API. The API takes a query param that looks something like this 2-10, that's a range and notice that it uses a hyphen (-). Usually, data comes from another place using en ...
MauricioRobayo's user avatar
0votes
2answers
1kviews

What is the standard method for updating client views of data?

I'm working with a client who currently uses a database system that they've outgrown, so we're re-building it using a different platform that can handle their growth. One feature of their current ...
Chuck's user avatar
0votes
1answer
346views

Should an http API client hide the http response object?

I'm using a client library for an HTTP API. The client exposes objects and methods matching the domain, e.g. Api::Document.download, but the return value is just the http response from the API. As the ...
iftheshoefritz's user avatar
9votes
7answers
666views

Teams do relative estimations, business wants absolute estimations. How to make everyone satisfied?

This is the case: Clients want to know how much time will be needed to finish a particular task (not the group of tasks). They are asking for man/days absolute estimation and only when they get it, ...
DarkKnightSM's user avatar
0votes
2answers
572views

Can a C# AnonymousPipeServerStream create a non .NET client?

For example, if I want to write a daemon program in C# that uses anonymous pipes to communicate with programs written in another language, is this both possible and feasible? I ask because I intend ...
gabriel.hayes's user avatar
5votes
1answer
2kviews

Implementing both Sync and Async clients with DRY

I'm developing a client library. I'd like to provide both Sync and Async interfaces to endpoints on a server. They would be rather easy to implement as completely separate entities, but I would like ...
Felix's user avatar

153050per page
close