Code Monkey home page Code Monkey logo

Comments (4)

Rick-2CA avatar Rick-2CA commented on August 13, 2024

I haven't had to deal with a proxy before. Is this just a requirement to support Proxy on Invoke-RestMethod or is there more to it that we'd have to solve for?

from servicenow-powershell.

mhackethal avatar mhackethal commented on August 13, 2024

you need to use it on every Invoke-RestMethod or Invoke-Webrequest call. There are some parameters that need to be provided.

  • ProxyURL
  • either UseDefaultCredentials or provide specific credentials like username/Password that is required to authenticate for the proxy.

I think its a bit tricky to implement this if you dont have any environment using a proxy. I just fixed it for me personal use with a dirty hack ;) but its nothing i can push here.

from servicenow-powershell.

Rick-2CA avatar Rick-2CA commented on August 13, 2024

Would probably be best to force that functionality into Set-ServiceNowAuth. From there it wouldn't be hard to inject it into the right spots for the invoke calls. Trying to support it on a per command basis as a parameter would be more work and add even more parameters to each command. I'm hesitant to do more of that.

I'll leave this open and see what can be done. I've needed to set some time aside for another round of updates anyway. Busy couple months coming up though. Thanks for the request.

from servicenow-powershell.

Random206 avatar Random206 commented on August 13, 2024

I would love for this feature to be added please.

from servicenow-powershell.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.