How to work with API on your mobile phone?
Tags: api, webdev, html, javascript
Published: 2022-11-08 13:00:11

There are numerous tools available for testing your API. However, I will demonstrate how to test your API using an advanced mobile app designed specifically for this purpose.    
I am a backend developer working on an API. Let&#39;s assume that I want to test my API but don&#39;t have a laptop with me. So, I&#39;m going to use [API Tester](https://apitester.org/), a mobile software I downloaded from Google Play.Because this mobile app contains practically every functionality that a developer needs to test his API, I can complete my work without using a computer.  
As a result, my productivity is increasing, and I can test APIs from anywhere on the planet using only a mobile device. We discussed how to develop a simple API in my previous post; now let&#39;s put it to the test.

## What is an API?

API stands for Application Programming Interface. It is a set of functions and procedures that allow the creation of applications that access the features or data of an operating system, application, or another service.



## APITESTER

## Installation 

### Android Google Play Store
- Download the app from the Google Play Store.  
[APITESTER](https://play.google.com/store/apps/details?id=apitester.org)

### iOS
- Download the app from the Apple App Store.  
[APITESTER](https://apps.apple.com/us/app/api-tester-debug-requests/id1575521212)

## How to use it?

### 1. Open the app

![Open App](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ing84u9zf0z87ixz33ez.jpg)


### 2. Click on "Create New Request"  

- You can also import a request from a file. 
- If you had a template file, you can import it.
- This will open a new elegant interface.




### 3. Choose the request type and other options

- You can choose the request type from GET, POST, PUT, DELETE, PATCH, HEAD, OPTIONS, TRACE, CONNECT, COPY, LINK, UNLINK, PURGE, LOCK, UNLOCK, PROPFIND, VIEW, etc.
- You can also choose the request body type from JSON, XML, TEXT, HTML, FORM, BINARY, etc.
- It also has additional options like GraphQL and Websocket.

![Request mode](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3icl46ufns8w91nu6ja6.jpg)
### 4. Enter the URL

- After choosing the request type and other options, you can enter the URL.
- It also has various options like adding headers, cookies, query parameters, etc.
- It also has a feature to add a custom header.
- You can also add an Authorization header.
- Authorization header has various options like Basic, Bearer, Digest, etc.
- And UI is very simple and elegant.

![Run Request](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7zwmlfh22vsi6dyg3nrr.jpg)
- I have created a new request with API for getting blog details from dev.to using username.

### 5. Run the request

- After entering the URL, you can run the request.
- "Run" icon is at the top right corner.
- It also has the cURL command.
- You can get output in a new well-designed UI. Which is very simple and easily understandable.

![Response from request](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kdtsnvfu7t8o23hob7ld.jpg)


## Features

- It has a feature to save the request.
- You can save the request in a file.
- You can also import a request from a file. 
- If you had a template file, you can import it.
- It also has a feature to save the response.
- It has all the **Advanced** features that a developer needs to test his API.

## Why choose APITESTER?

- It is very simple and elegant.
- It is lightweight and can use on any device.
- Easily understandable.
- Mobile devices are always with us. So we can test our API anywhere and anytime.
- It can be very helpful while sharing the request with others.

## Conclusion

- I hope you liked this article.
- If you have any suggestions, please comment below.