python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
HttpClient get does not work when put in async method
I am trying to use this in a method call to get a string from a source
HttpClient client = new HttpClient();
HttpResponseMessage response = await client.GetAsync(url);
string responseBody = await resp...
Noah Leightley
Votes: 0
Answers: 1
How to display Body type in Swagger (OAS3) for GET requests?
So i'm working on some APIs (Spring Boot)where I have both input and output of type XML. For documenting, I'm using Swagger (OpenAPI 3). Here is the controller:
@RestController
@Validated
@RequestMapp...
Andrei Manolache
Votes: 0
Answers: 1
Response status is 500 for swagger appears once HttpGet for a specific object is implemented
I am learning how to create a WebApi utilizing C# to expand my code knowledge from just Java. I have created one with a List so far but I am attempting to use a Dictionary now. I have implemented a Ht...
AlbersB
Votes: 0
Answers: 1
Can't read data from Firebase Realtime database by issuing a GET request. Always returns null
Task is simple, but I couldn't find any solution though.
Here is the request I'm sending https://graf-24561-default-rtdb.firebaseio.com/graf-24561-default-rtdb.json
Rules for reading and writing:
{
...
Aleksey
Votes: 0
Answers: 1