January 2016
Intermediate to advanced
278 pages
4h 53m
English
As we have seen so far, to upload and attach a file to a resource, it must already exist. How we can create a resource with a file attached? How can we create a contact that includes an avatar image?
To do so, we will need to create the resource in two steps. In the first step, we create the resource itself, and then in a second step we can upload all files we want to that resource. Yes, it's not possible to do this in a single server connection, at least without encoding the files you want to send:

Figure 5.4 Create contact process
The preceding figure shows how the process is done. Note that the model is ...
Read now
Unlock full access