e>. For example:</p>
<p><code>shell
curl --request POST --header "PRIVATE-TOKEN: &lt;your_access_token&gt;" --form "path=api-project" \
     --form "file=@/path/to/file" "https://gitlab.example.com/api/v4/projects/import"</code></p>
<p>cURL doesn't support posting a file from a remote server. This example imports a project
using Python's <code>open</code> method:</p>
<p>```python
import requests</p>
<p>url =  'https://gitlab.example.com/api/v4/projects/import'
files = { "file": open("project_export.tar.gz",