question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Get request from services

See original GitHub issue

I have an app with controllers as ControllerType.REQUEST, i’m in need of look up something from the request object.

Is there a way to access request object inside an injected service from controller?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
L2jLigacommented, Nov 4, 2021
0reactions
L2jLigacommented, Oct 4, 2022

Released as v3.14.0.

Now feature available in both v3 & b4, closing.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Communicating with backend services using HTTP - Angular
Use the HttpClient.get() method to fetch data from a server. The asynchronous method sends an HTTP request, and returns an Observable that emits...
Read more >
Angular - HTTP GET Request Examples | Jason Watmore's Blog
Below is a quick set of examples to show how to send HTTP GET requests from Angular to a backend API. Other HTTP...
Read more >
Angular2 Http get request with service - Stack Overflow
for an http get request but if I use my function in my component directly, it works. I use a PHP file that...
Read more >
HTTP get request example in Angular using HttpClient
HttpClient.get() method is an asynchronous method that performs an HTTP get request in Angular applications and returns an Observable. And that Observable emits ......
Read more >
$http Service in AngularJS - TutorialsTeacher
$http.get() method sends http GET request to the remote server and retrieves the data. Signature: HttpPromise $http.get(url).
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found