A basic example of layering: FTP < TCP < IP < Ethernet
Benefis of layering:
- You can understand a layer without knowing much about the others.
- Minimize dependencies.
An introduction to curl
using GitHub's API.
Makes a basic GET request to the specifed URI
curl https://api.github.com/users/caspyin
package controllers; | |
import play.*; | |
import play.data.Upload; | |
import play.db.Model.BinaryField; | |
import play.libs.MimeTypes; | |
import play.mvc.*; | |
import java.io.ByteArrayInputStream; | |
import java.io.ByteArrayOutputStream; |