View Full Version : Store Create action method with "extraParams "

1 Nov 2011, 3:47 PM

Case of use:
A typical store with:

api:{ read:url1.php, create:url2.php }

to inform the .php script: sqlserver, log, pass, db, and table parameters.
Loading the store (api->read) will include these extraParams{...} as POST parameters in the HTTP request resulting in a succesfull Read operation.
Adding a model to the store (api->create) will only send the model (record) in the HTTP request, ignoring the extraParams:{...} that are present in the store, so my .php script will fail.
Is there a way to inform the .php script with the needed extra params?

16 Nov 2011, 11:50 AM
Any operation that the proxy makes, it should include the extraParams. If it doesn't, can we have a test case to look at what is going on?