Article
As developers, we often work with APIs or web services, and one common task is sending data in JSON (JavaScript Object Notation) format to a server. Fortunately, Python provides us with a powerful requests library, which makes HTTP requests a breeze, including sending JSON data. In this article, we'll go...
Dimitrije Stamenic
Flask is a great micro-framework for Web Development in Python, and allows you to be extremely minimal. A working REST API can be served up in seconds through a few lines of code: from flask import Flask, request app = Flask(__name__) @app.route('/') def hello(): return 'Hello!...
David Landup
Resources on the Web are located under some kind of web-address (even if they're not accessible), oftentimes referred to as a URL (Uniform Resource Locator). These resources are, most of the time, manipulated by an end-user (retrieved, updated, deleted, etc.) using the HTTP protocol through respective HTTP Methods. In this...
Lazar Ristic
Python is supported by many libraries which simplify data transfer over HTTP. The requests library is one of the most popular Python packages as it's heavily used in web scraping. It's also popular for interacting with servers! The library makes it easy to upload data in a popular format like...
Mohamed Echout
With Spring, we map requests to request handlers via the @RequestMapping annotation. Spring Boot introduced us to derived types of this annotation - @GetMapping, @PostMapping, @DeleteMapping, etc. These requests contain different types of information and data - and depending on what our endpoint does with the request, we may want...
A web application often needs to communicate with web servers to get various resources. You might need to fetch data from or post data to an external web server or API. Using client-side JavaScript, this can be achieved using the fetch API and the window.fetch() function. In NodeJS, several...
Aniuchi Adaobi
Axios is a Promised-based JavaScript library that is used to send HTTP requests. You can think of it as an alternative to JavaScript's native fetch() function. We will be using features such as Promises, async/await, and other modern JavaScript design patterns in this tutorial. If you'd like to get...
Janith Kasun
Servers are computer software or hardware that processes requests and delivers data to a client over a network. Various types of servers exist, with the most common ones being web servers, database servers, application servers, and transaction servers. Widely used web servers such as Apache, Monkey, and Jigsaw are quite...
Guest Contributor
Hypertext Transfer Protocol (HTTP) is an application-layer protocol, which without exaggeration, is pretty much the backbone of Internet browsing as we know it. It's used for transferring hypermedia documents between the client and the server and is an essential part of every single web application, including any APIs that use...
© 2013-2024 Stack Abuse. All rights reserved.