0

I need to see if the request starts from an internal or external network.

How can I intercept the http in angular 1.7 request and find the information I'm looking for?

5
  • 1
    You can intercept requests which are originating only from your browser... You can use tools like fiddler, postman. Or on your browser press F12 and check network tab. Commented Jun 27, 2018 at 12:26
  • Have you read $http interceptors ? Commented Jun 27, 2018 at 12:26
  • 1
    It is unclear what you are asking. AngularJS originates HTTP requests. It does not receive requests that start elsewhere. Commented Jun 27, 2018 at 12:45
  • Sounds like you're just trying to see the request... why not check the developer tools? Commented Jun 27, 2018 at 13:23
  • @WilliamHampshire yes, I want to see the request, but I would like to memorize a flag on the db that informs me of the origin of the request. My backend is written in python Commented Jun 27, 2018 at 13:48

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.