• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Quick and dirty out-of-the-box web-server

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    Quick and dirty out-of-the-box web-server

    A lot of development work I do involves interacting with remote Web-APIs. Sometimes there is a simulator, but often I could get by with some hand-crafted JSON/XML files and just tell a noddy web-server to return a given file no matter what request it's given, or map a given URL to a static file.
    I'm not a web-dev or I'm sure this is trivial in PHP but I wonder can I use some standalone application to just run up and it is a web-server on 127.0.0.1:xxxx like I describe? Sort of the way Jenkins does in a way. I do not want to setting up IIS or Apache!
    Originally posted by MaryPoppins
    I'd still not breastfeed a nazi
    Originally posted by vetran
    Urine is quite nourishing

    #2
    Beeceptor - Zero Coding Rest API Mocking - Rest API Mock Server
    Originally posted by Stevie Wonder Boy
    I can't see any way to do it can you please advise?

    I want my account deleted and all of my information removed, I want to invoke my right to be forgotten.

    Comment


      #3
      Sounds interesting, I'll take a look. Thanks.
      Originally posted by MaryPoppins
      I'd still not breastfeed a nazi
      Originally posted by vetran
      Urine is quite nourishing

      Comment


        #4
        Either Node or Python can give you a quick-and-dirty web server good enough for non-production use:

        How to serve static files | Node.js

        Serve Your Current Directory With Python and HTTP | Nicolas Mesa

        Comment


          #5
          Take a look at Postman it has a feature called mock server where you can type in the response you want from any given path and http verb.

          Setting up a mock server | Postman Learning Center
          Last edited by BlueSharp; 13 September 2019, 12:56.
          Make Mercia Great Again!

          Comment


            #6
            Why does everyone want everything dirty nowadays??

            Is is some millennial term like 'sick' or summat?
            'CUK forum personality of 2011 - Winner - Yes really!!!!

            Comment


              #7
              Originally posted by northernladuk View Post
              Why does everyone want everything dirty nowadays??

              Is is some millennial term like 'sick' or summat?
              MS-DOS is an evolution of 86-DOS which originally named QDOS (Quick and Dirty Operating System)
              Originally posted by Stevie Wonder Boy
              I can't see any way to do it can you please advise?

              I want my account deleted and all of my information removed, I want to invoke my right to be forgotten.

              Comment


                #8
                Originally posted by SimonMac View Post
                MS-DOS is an evolution of 86-DOS which originally named QDOS (Quick and Dirty Operating System)
                Well you learn something new every day!
                'CUK forum personality of 2011 - Winner - Yes really!!!!

                Comment


                  #9
                  Originally posted by northernladuk View Post
                  Why does everyone want everything dirty nowadays??
                  There's less opportunity to be caught by the kids.
                  HTH.
                  ---

                  Former member of IPSE.


                  ---
                  Many a mickle makes a muckle.

                  ---

                  Comment


                    #10
                    Originally posted by northernladuk View Post
                    Why does everyone want everything dirty nowadays??

                    Is is some millennial term like 'sick' or summat?
                    Yes except it's been around since before you were born.

                    quick-and-dirty - Wiktionary
                    Originally posted by MaryPoppins
                    I'd still not breastfeed a nazi
                    Originally posted by vetran
                    Urine is quite nourishing

                    Comment

                    Working...
                    X