Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

POST File

Security covered Under active development 19 sites

This module provides a secure endpoint for uploading single files to your Drupal site. It uses basic authentication and checks user permissions before saving the uploaded file to a designated file system.

The module creates an endpoint on the site at /postfile/upload that accepts a POST request for uploading a single file into a specified file system (public, private, etc).

The POST request requires a user with the proper permissions before the file is uploaded. The endpoint uses the basic_auth REST authentication provider.

The request would look something like this:

curl
--location 'https://www.example.com/postfile/upload' \
--header 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ' \
--form 'file=@"/path/to/file.csv"'
Drupal 10–11

Ask your assistant about POST File

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

  • basic_auth Drupal core
  • file Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
4
Tracked since
May 2024
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
1.0.2 Stable 10–11 Nov 13, 2024
1.0.1 Stable 10–11 Aug 5, 2024
1.0.0 Stable 9–10 May 30, 2024
1.0.x-dev Dev 10–11 May 29, 2024