Since the package Microsoft.AspNetCore.Buffering has been deprecated after .net Core 1.1, what is the best practice to restore the feature provided by ...
Since the package Microsoft.AspNetCore.Buffering has been deprecated after .net Core 1.1, what is the best practice to restore the feature provided by ...
I asking the exact question as this post here : How to get a response headers using Microsoft graph API The only difference (to me?) is that i'm usin ...
This is what the body looks like: The code: The Error: To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change th ...
I want to build a web server so that the client can view the index.html document in the local Linux environment using http 1.1. I don't know how to s ...
I have built a spring boot application that has a class called FileDetails.kt. The method that I am trying to test, in the class, is in the following ...
I am using stripe calls in node JS. These are the replies. **first try ** console.log('successful', balance) returns successful {object: 'balanc ...
I am making a Next.js app that has a page that connects to a REST API. The REST API simply spits out a raw .wasm (WebAssembly) file. I know that sound ...
I need the points value to compare with an integer to check if the user has enough point. get_points(user) > 10 The Code: Error: the return typ ...
I need only the "points": 300 from the below response body. Here is the body: The Code: I need only the points value. - 300 ...
So I read the documentation about the BodyHandlers.ofString() method, my understanding is that it will parse the value of the response variable into ...
I'm trying to get JSON data from URL but for some, I'm getting a successful result and for some, I'm getting undefined. For instance, the below code r ...
Length hiding (by adding a random number of bytes to the responses) is one of the mitigations for a BREACH attack. How can we implement this in a spri ...
In a project I use TIdHTTP to call a webserver. The webserver is an asp.net test application that returns the following json: The response I get i ...
I have a table with cities that has a foreign key constraint on another table, countries. What status code should I return if the client sends a POST ...
In Node js, trying to fetch data using Axios Get from any URL. For example: [Json Place Holder] https://jsonplaceholder.typicode.com/users .The respo ...
I'm a newbie building APIs with django/python I built a dictionary object (it has lists inside other lists in it), and I want to send it to the front ...
i hava a problem that i am unble to figure whats i am doing wrong. So basically backend sends the error message but somehow browser is overwrites the ...
I am trying to create a unit test in my project where I mock the http client and setup the response that the client has to return. I need such behavio ...
Trying to parse: But the boundingbox:[] in the statement are causing errors, I can't get rid of them so I need to find a way to pull the lat and lo ...
I'm currently trying to implement API logic to fetch multiple images from a server. This server accepts an image id and return an HTTP response that c ...