thangtx / mailwizzphpapi-wrap Goto Github PK
View Code? Open in Web Editor NEWWrap MailWizz Php Framework
Wrap MailWizz Php Framework
Hi, it only worked after I added the following .htaccess to my root path:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ index.php [QSA,L]
RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
There is an error under PHP 7.2:
PHP Parse error: syntax error, unexpected '[' in /var/www/api/index.php on line 10
My fix was:
$requestPath = parse_url($_SERVER['REQUEST_URI']); $requestPath = $requestPath['path'];
I already use mailwizz apis, but I'm having trouble getting to work this wrapper. Is it possible to get a detailed how to set up and use guide with the already done examples by twisted1919 in the readme? Thank you.
Does this code works?
I appreciate your hard work on this wrapper. I was wondering if you could add documentation on how to use this with Angular 6. Thank you!
On line 11, I replaced the following code
$response = $endpoint->getList($app->request()->get('list'));
for
$response = $endpoint->getList($app->request()->post('list'));
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.