Skip to content

softwarewright/api-testing-sandbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API Testing Sandbox

Tools to use

  • Docker - Providers you the means to run containers

  • Httpbin - This is a simple service that providers a way to test HTTP Requests and Responses

Start your playground

# Use Ctrl+C when you want to exit the service (this will not remove the container)

docker run -p 8001:80 --name httpbin kennethreitz/httpbin

This will start httpbin on port 8001, so if you navigate to http://localhost:8001 you will see httpbin. Now you can start making requests from Postman.

Commands to remember

Start httpbin

# Use Ctrl+C when you want to exit the service (this will not remove the container)

docker run -p 8001:80 --name httpbin kennethreitz/httpbin

Remove httpbin - when you see the following error Error response from daemon: Conflict. The container name "/httpbin" is already in use by container use the command below.

# Or if you are still running in the terminal use CTRL+C

docker rm -f httpbin

See containers running


docker ps

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published