#Spring boot sever endpoint

3 messages · Page 1 of 1 (latest)

hallow veldt
#

sup guys, weird issue im having. (flutter app is sending this get command)
var response = await http.get(getUserDetailUrl);

im noticing with this call, i will get the correct information back right away but then eventually i will trigger a connection timeout error on the ide? even though the information was successful.
"_ClientSocketException (Connection timed out)"

on postman i get a code 200 back instantly and no other error

@CrossOrigin
    @GetMapping("/getplanters")
    public JSONObject getUser(@RequestParam String userId) throws InterruptedException, ExecutionException {
        return userService.getPlanters(userId);
    }```
 this is my java server endpoint
mighty agateBOT
#

This post has been reserved for your question.

Hey @hallow veldt! Please use /close or the Close Post button above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.