"403 Forbidden error" posting file via Rest API

Hi,

I'm trying to POST a simple file using HTTPClient (Rest API).
I have installed RestUi and configure everyting correctly (I can GET and POST any content type).

My problem is posting a FILE...
I have added FILE (with POST method) in RestUI.

When I launch my POST request, I get "403 forbidden" : 
"Client error: `POST http://XXX/entity/file?_format=hal_json` resulted in a `403 Forbidden` response: {"message":""}"

Creation of a new custom form

I have created a custom form and it works.
I need to create another module by clicking on install this error returns me and I don't know what to do to solve the problem. I tried to delete and reinstall it but nothing to do

ReflectionException: Class \Drupal\hello\HelloController does not exist in ReflectionMethod->__construct() (line 136 of core\lib\Drupal\Core\Entity\EntityResolverManager.php).

Charts error non-existent service

I trying to integrate charts to my site together with TableFields, and when import csv data, the node show this error.  I looking at google and don´t have any result, if somebody can help me with this thanks in advice.

How do I add column to existing table on module installation?

I am trying to add a new column to a table and I added the column using hook_update_N() in the module.install file:

Composer patch submodules

Hello all,

I am trying to patch a submodule: jsonapi_defaults installed with jsonapi_extras (modules/jsonapi_extras/jsonapi_defaults) using composer on Drupal 8.9.10.

I tried the following:

    "extra": {
         "patches": {
        "drupal/jsonapi_extras" : {
        "Configurable JSON:API Max Limit": "https://www.drupal.org/files/issues/2020-08-09/max-page-limit-configurable_2884292_17.patch"
         }
        },

But was not able to apply patch to the submodule.

Thanks in advance.

Anyone have ideas on how to use Backblaze B2 as storage for public and private files?

Backblaze b2 is some of the most affordable storage I have found. I'm currently working on a personal site that could use 100's of gb's of space if I can make it work the way I hope. So b2 seems like my best bet for something relatively affordable.

They have a S3 compatible API, so I am trying s3fs and flysystem_s3. But I keep having weird issues. I'm still trying to understand the issues enough to make an intelligent support request.

In the meantime, does anyone have any other suggestions on how I can make b2 my storage backend?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x