Category "response"

How do I access response information from COINGECKO API for coins with more than one word id?

I have 6 crypto coins I'm getting current price from CoinGecko's API I have spans inside of divs set up on my html page, where the price span html updates after

Close hamburger menu when click on anchor links on same page (in mobile view)

I use this HTML, CSS and Javascript hamburger menu code: In the mobile view, it doesn't close the menu for me when I click on one of the other menus on the left

Laravel custom validator returns page instead of json

I made a controller to store tasks, it looks like: public function store(StoreTaskRequest $request) { $validated = $request->validated();

Nested REST API resource not found

This feels like what should be a very common question but I cannot find anything related to it. I am working on a 'REST' API with nested / sub-resources GET /us

Laravel Json Reponse running really slow

My code suddenly started working really slow. I don;t see any reason, noting was changed or updated. return response()->json([ 'status' => 'su

Does LDAP return whether a user login was successful?

Is it possible to retrieve information about LDAP authentication - whether it was successful or not? I need to achieve the following scenario: User navigates to

Extract a value in a json response with a variable

I am trying to return the id of a declared variable from a json file: i want my java code to search for the previous variable in the json response and once it i

api response laravel doesn't show

I have some problem when I want to return a value from api, when I use dd() function it will show the result. But when I use return, it doesn't show the result

Download File from Bytes in JavaScript

I want to download the file which is coming in the form of bytes from the AJAX response. I tried to do it this way with the help of Blob: var blob=new Blob([res

Spring Controller @ResponseBody text/xml response UTF-8 encoding issue

I have annotation based Spring Rest Service running on jetty web server(also tomcat).The controller code is : @RequestMapping(method = RequestMethod.POST, val

How to read HASH(0x1fcb970) using perl?

I'm really lost with this, how can I read this response form an API HASH(0x1fcb970) using perl. my @info= $connection->fetchrow(); When I try to print the d

WebDAV return 401 - How to authenticate?

I have a problem with WebDAV. I have to get a list of files. I have this request: <?xml version="1.0"?> <D:searchrequest xmlns:D = "DAV:"> <D:sq