Lately I’ve been interacting a lot with REST APIs. I found that testing an API from within an application can sometimes cause some issues. For instance, when setting up a webhook notification instance using vROPS you only have a simple test button. But what if the application you want to access requires authentication and all you want to test is if you are able to access a URL via a HTTP proxy server?

If you have the option to open an SSH or console session to the server that hosts the application, you can probably set a http_proxy environment variable and use curl to test connectivity. But then there is still a chance your application handles connectivity in a slightly different way. To mitigate that risk and even save you the hassle of connecting via SSH let me present you with an even easier alternative; Beeceptor.

Beeceptor is a website where you can create a mock API endpoint. Simply enter an endpoint name and you can use this endpoint in your application of choice. Want to do an easy connectivity test? Simply do a GET or POST request and you can see the result in the browser where you created the endpoint.

But it doesn’t stop here. Even with their free tier you can create rules on how to respond to certain API calls. Check out their documentation and consider subscribing to one of their paid tiers if you see added value for your use cases.

Rudolf Kleijwegt

I am an experienced IT professional with over 20 years of hands-on experience designing, deploying, and maintaining IT infrastructure in both enterprise and service provider environments. My skills span across Linux and Windows and a multitude of server applications, allowing me to excel in a wide range of IT roles. Currently, my primary focus is on Software Defined DataCenter and DevOps. I am passionate about staying up to date with the latest trends in the industry to achieve superior outcomes.


Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *