HTTP Assistant is an open-platform that allows client's to create and execute HTTP requests, to test the functionality and behaviour of APIs. It provides a user-friendly interface for constructing requests, setting parameters, and inspecting responses.
Link to Project: https://http-assistant.vercel.app/
Tech used: HTML, CSS and Javascript.
HTML and CSS were utilized in building a well-structured markup and user-friendly interface that will provide users with a seamless and smooth engagement on the platform. Vanilla Javascript coupled with the fetch API which is a web api was used to design the functionality of the project. The fetch api helped in sending and recieving the HTTP requests from web servers. The request and response objects helped in locating and identifying data such as • size • status • time • headers et cetera from the server and url interface. The properties and methods that are natively built into the request and response objects initiated the collection of the listed information.
To improve the efficiency and perfomance of the project, the sections that took quadratic or linearthimic time to handle and emit response were modified to run at linear time. With the new implementation the project efficiency and perfomance was increased.
Prior to building this project, I only had a solid grasp of how fetch api can be used to make GET requests to web servers. At the completion of the project, I've learnt how POST, PUT and DELETE requests can be initiated with the fetch interface and how to handle responses specific to each request.