This post is about uploading a file or multiple files to a running Actix-web application.
Path Parameter and JSON Payload in Actix-Web
This post demonstrates how to capture path parameters and JSON payload in Actix-web .
Rust – Check if key exists in HashMap Examples
This post shows how to check if a key exists in a HashMap in Rust. As we know, Rust has the HashMap struct, which is part of its Collections library that we can use to store key-value pairs. Rust HashMap
How To Windows Batch Files Using Rust
In Rust, we can use std::process::Command to run a .bat or .cmd file in Windows.
Rust – Convert Struct Instances to and from JSON
In Rust, there are two excellent crates that can convert struct instances to and from JSON. These are perfect for creating RESTful APIs that consume and produce JSON content. These are serde and serde_json crates. Use Rust Crates In Cargo.toml If
Rust – How to Return JSON Responses from Actix-web
Are you planning to develop an API-only backend using Rust and Actix-web? If so, you need to know how to return JSON responses from Actix-web. This post briefly shows how to create a Rust application using actix-web that returns JSON responses.
Rust REST API, Actix-web, PostgreSQL – Part 3: The Codes
We had an overview of the project structure. This post shows the codes of the files mentioned in the previous post.
Rust REST API, Actix-web, PostgreSQL – Part 2: The Project
Previously, we had a bit of an overview and prerequisites of the stuff needed to start creating a REST API example in Rust using Actix-web and PostgreSQL project. This post is the second part and gives an overview of the
Rust REST API, Actix-web, PostgreSQL – Part 1: Overview
This post shows a simple example of a REST API with Rust, Actix-web, and PostgreSQL and its requirements. Rust Actix-web PostgreSQL Requirements These are the items used for these posts and the subsequent ones. Windows 10 Please see How to install
Rust (Switch) Using Match With Examples
Rust does not have a switch keyword but the match keyword that works like a switch examples in other languages like Java and C++. Generally, the match can run codes or return a single value. It cannot do both at