Issue #874Opened February 15, 2018by AlessandroMagri1 reactions

[QUESTION] Different POST params

Question

Hi, we are tring to integrate your grapejs in an existing web application. We need to load and store data remotely adding some POST params (different in the load call and in the push call). Is it possible?

In the case that all works well, can you support us for some customization?

Answers (3)

artfFebruary 27, 20180 reactions

@AlessandroMagri you basically set custom parameters in the storageManager configuration:

grapesjs.init({
	...
	storageManager: {
            type: 'remote',
			...
            params: {
				// You custom parameters
				_token: '...'
			}, 
   }
});

Those are used for both the load and store requests, if you want you can find here #831 how to customize the already initiliazed storage manager

lock[bot]September 18, 20190 reactions

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.