Skip to main content

Questions tagged [client]

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

1 vote
3 answers
236 views

Should HTTP clients be encapsulated in a C#/.NET library?

I have a C# library that contains all the logic to send requests to a remote endpoint, including marshalling/unmarshalling and encrypting/decrypting requests and responses. It contains an HttpClient ...
hyt's user avatar
  • 121
-2 votes
1 answer
237 views

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
1 vote
2 answers
4k views

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
0 votes
1 answer
152 views

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
  • 1
-1 votes
1 answer
238 views

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
  • 31
0 votes
1 answer
163 views

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
0 votes
3 answers
201 views

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
0 votes
4 answers
177 views

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
2 votes
2 answers
224 views

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
  • 572
-2 votes
1 answer
226 views

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
0 votes
3 answers
203 views

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
0 votes
2 answers
1k views

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
  • 115
0 votes
1 answer
362 views

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
9 votes
7 answers
690 views

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
0 votes
2 answers
602 views

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

15 30 50 per page
1
2 3 4 5