-
-
Notifications
You must be signed in to change notification settings - Fork 9
FAQ
Frequently Asked Questions
In some cases the server config does block Authentication Headers by default. Try adding the following line to your .htaccess
file:
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
In other cases it helped to add the following line:
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
If you want to include an image from the api using the standard <img src="">
tag, it can be very difficult to include the api key and a token as headers. However, it is possible to include these values as GET parameters. The GET parameter with the apikey is called api_key
. A token can be sent as parameter authorization
.
Disclaimer: I recommend to use this solution only for this exceptional case. Generally headers are the better and more elegant solution.
AppApi
Connect your apps to ProcessWire!
ProcessWire-Module: | https://modules.processwire.com/modules/app-api/ |
Support-Forum: | https://processwire.com/talk/topic/24014-new-module-appapi/ |
Repository: | https://github.com/Sebiworld/AppApi |
Wiki: | https://github.com/Sebiworld/AppApi/wiki |