Akka (41): Http: DBTable-rows streaming-database table row exchange

In the previous discussion, we introduced file exchange through http. Because the content of the file is represented by a bunch of bytes, and the data part of the HTTP message is also byte type, we can read the file directly with Source[ByteString,] and put it into HttpEntity. We also mentioned that if database data exchange is needed, the rows ...

Posted on Sat, 29 Dec 2018 09:36:07 -0800 by deadparrot

Introduce two great artifacts! Using json-server and faker.js to simulate REST API

Today, we found a magic artifact, json-server! With his help, we can build a Rest API in a very short time, and then we can let the front end develop without relying on the back end. About what RESTful API is:"RESTful API Design Guide" - Ruan Yifenghttp://www.ruanyifeng.com/blo... JSON-Server Simply put, JSON-Server is a Node module t ...

Posted on Sat, 29 Dec 2018 07:09:08 -0800 by please_explain

[ASP.NET] Implementing OAuth under OWIN with Web API

OAuth(Open Authorization) It provides a secure, open and simple standard for authorization of user resources. Unlike previous authorization methods, OAuth authorization does not allow third parties to touch user account information (such as username and password), that is, third parties can apply for authorization of user resources without usin ...

Posted on Fri, 28 Dec 2018 08:15:07 -0800 by joma

Supplementary: payload and form-data requests for ionic-post, nodejs express read data problem

Write the front end in ionic3 and read the data in the back end in express, but req.body , req.params, req.query There's no data. It's all {} printed out. Reason: Before: When requesting data at the front end, request payload is used - backstage app.post('/user/add',function(req,res,next) { console.log(req.b ...

Posted on Thu, 27 Dec 2018 18:09:06 -0800 by elfyn

vue+express+mongodb+websocket Imitate QQ Instant Chat Project

QQ Immediate Chat Application Based on Vue Family Bucket Try to use Vue to do a more complete whole stack project, support private chat, login registration and search chat according to QQ number. Github project address: https://github.com/MR158/WeQQChat I think it's a good idea to order a star. Realization func ...

Posted on Thu, 27 Dec 2018 12:18:06 -0800 by john87423

Project Reflection--Reservation System of College Student Activity Center - [Interconversion of Json, Json String, Json Array, Object and List]

Conversion of Json, Json string, Json array, Java object, List 1. Login operation [Front end (form form form - > Json - > Json string) - - > Backend Front-end -> [Back-end (Json string - > Java object)] (1) Front end (form form form - > Json - > Json string) The front end uses ajax to POST a ...

Posted on Thu, 27 Dec 2018 11:27:06 -0800 by shadow1200

Express Learning Notes Pure Dry Goods (Routing, Middleware, Hosted Static Files, Viewengine, etc.)

Links to original articles: http://www.lovebxm.com/2017/0... 1. Express Profile Express is a fast, open and minimal web development framework based on Node.js platform. It provides a series of powerful features to help you create various Web and mobile applications. Express does not re-abstract the existing features of Node.js, but only extends ...

Posted on Wed, 26 Dec 2018 13:30:06 -0800 by TheRealPenguin

laravel 5.4 + dingo api + jwt instead of Passport

Preface Because Du Niang searched for a lot of Copy versions for half a day, which made me dead and alive. Every one tried a lot of questions. Did you sum up once after all? Then there are a few using lunmen+dingo api+jwt, not at all, eunuch version is not what I want.Later, Google finally found an example and tested it successfully. Coming dir ...

Posted on Tue, 25 Dec 2018 19:48:06 -0800 by cap97

PHP Develops Practical Short Message Service

Step 1 Use Aliyun Short Message Service to Send Short Messages Normally SMS signature SMS template 1 Application for short message signature _Create signature information according to user attributes. Enterprise users need to upload certificates of relevant enterprise qualifications, and individual users need to upload certificates of perso ...

Posted on Mon, 24 Dec 2018 18:33:06 -0800 by lemist

vue vue-router vuex element-ui axios learning notes (18) write background page admin,login

The reason I write background pages first is that I need to add products first, and then I need to test them at the front end. 1. Write out the back-end homepage first, mainly the back-end routing part. admin.vue <template> <section class="admin"> <!-- head --> <el-row class="header"> <!-- logo --&gt ...

Posted on Mon, 24 Dec 2018 18:21:06 -0800 by quanghoc