Skip to content

hasanazeerkhan/api-testing-axios

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reqres using Axios

A repository that contains testing of various APIs from the website https://reqres.in using the Axios library.

Table of Contents

About

This repository is designed to demonstrate how to interact with the ReqRes API using the Axios library in JavaScript. It includes various tests to ensure the functionality of the API endpoints.

Installation

To get started with this project, clone the repository and install the necessary dependencies:

git clone https://github.com/hasanazeerkhan/axios-reqres.in.git
cd axios-reqres.in
npm install

Usage

You can run the tests to see how the API interacts with the Axios library. Use the following command:

npm test

Testing

The repository includes tests for various API endpoints. You can find the test cases in the test.js file. Make sure to run the tests after making any changes to ensure everything is functioning correctly.

Contributing

Contributions are welcome! If you have suggestions for improvements or new features, please fork the repository and submit a pull request.

About

A repository which contains testing of various API of the website https://reqres.in using axios library

Topics

Resources

Stars

Watchers

Forks