Django framework + file upload + API call
Dry goods content
1. Introduction to Django MTV mode 2. File upload function under Django 3. Implement VirusTotal API call under Django
0x0 introduction to Django framework
At present, many Web frameworks are developed based on MVC development mode. Django is also very similar, but it is based on MTV development mode. Here is a brie ...
Posted by dannyluked on Tue, 08 Mar 2022 15:13:56 +0100
Without programming, generate CRUD, add, delete, modify and check RESTful API interface based on PostgreSQL zero code
Without programming, generate CRUD, add, delete, modify and check RESTful API interface based on PostgreSQL zero codereviewIn the previous article, the main functions and usage of crudapi have been introduced. crudapi 1.2.0 only supports MySQL database. In order to support more databases, the code is reconstructed and the abstract factory desig ...
Posted by snoopgreen on Wed, 23 Feb 2022 06:51:06 +0100
Learning these API s of java is enough
Common API s
ava API is the classes provided to us in JDK. These classes encapsulate the underlying code implementation. We don't need to care about how these classes are implemented, we just need to learn how to use these classes.
There is a Src in the JDK installation directory Zip file. The contents of this file after decompression are ...
Posted by e33basketball on Sat, 19 Feb 2022 15:49:53 +0100
JAVA foundation - Common API I
Common API
1. Scanner class
1.1 what is the Scanner class
A simple text scanner that can parse basic types and strings. For example, the following code enables the user to download from system Read a number in:
Scanner sc = new Scanner(System.in);
int i = sc.nextInt();
Remarks: system In system input refers to entering data through the ke ...
Posted by bailo81 on Fri, 21 Jan 2022 23:07:32 +0100
[skill summary] conversion between java integers, strings and arrays
Summarizes the common transformation methods between integers, strings and arrays in JAVA, as well as some common usages, which are convenient for reference and review. If you have any questions, you are welcome to leave a message.
1. Integer to string
int number = 123456;
Integer.toString(number);
int number = 123456;
String.valueOf(numb ...
Posted by blindeddie on Fri, 21 Jan 2022 05:45:41 +0100
Java 8 feature book (latest version)
1, PrefaceJava 8 is a milestone version, which is full of praise with the following new features.Lambda expression brings a new style and ability to code construction;Steam API enriches collection operations and expands the ability of collection;The new date and time API comes out after a thousand calls;With the in-depth understanding of the ne ...
Posted by Kev on Wed, 19 Jan 2022 08:00:19 +0100
Java learning phase I - 24 Java-Api05-1 process thread multithreading
Process and thread
1 process
1.1 concept of process
A process is a running program, which represents the memory area occupied by the program
1.2 process characteristics
Independence Process is an independent entity in the system. It can have its own independent resources. Each process has its own private address space. ...
Posted by AcousticJames on Sat, 15 Jan 2022 12:08:56 +0100
Teach you how to build Amazon advertising API development environment from scratch to obtain SP advertising data
1. Get access_token
Official link
1.1 request path POST
regionURLNAhttps://api.amazon.com/auth/o2/tokenEUhttps://api.amazon.co.uk/auth/o2/tokenFEhttps://api.amazon.co.jp/auth/o2/token
1.2 request cases
curl \ ...
Posted by fatmikey on Thu, 13 Jan 2022 20:26:00 +0100
Android project architecture design in simple terms
Author Pu KeThis paper introduces how to design the architecture of a large Android project from 0 to 1.One guideThis article is long and can be combined with the following table to guide you to quickly understand the main context of the full text.II. Project architecture evolutionThis chapter mainly summarizes the evolution process of an Andro ...
Posted by PHP Newb on Sat, 08 Jan 2022 20:22:55 +0100
Automated operation and maintenance (use api to manage f5 equipment automatically)
preface
Using the built-in API of F5 device and python program, it can interact with F5 device in real time, so as to realize the requirements of fine patrol inspection, monitoring and automatic deployment. The official API reference manual is in the appendix, which is very comprehensive.
python libraries used: request, json, time
Example co ...
Posted by simenss on Sat, 01 Jan 2022 02:31:26 +0100