Can anyone help me to sort out restful api issue with namecheap hosting, I’ve developed my own PHP restful api to connect my mysql db in namecheap hosting, I tested the API with postman, it’s working fine, When I try in Appgyver it’s not connecting. please help me, if someone knows this possible cause.
Have you tried using httpbin.org as a target (instead of your Namecheap URL) to see what Appgyver is sending ?
No, I didn’t try, I’ll look for that this is my endpoint https;//reyaasapps.com/classeapp/ simple one just for testing.
I did with firebase it was working in Appgyver, but facing problem connecting to my own backend.
I’m getting this error
Error: JSON error response from server: {“status”:“error”,“code”:0,“message”:“Error No Token Found”,“document”:“Please set .htaccess file with [SetEnvIf Authorization ‘(.*)’ HTTP_AUTHORIZATION=$1]”}.status: 403
but I’ve give there rules in .htaccess file.
What’s your .htaccess look like if you don’t mind sharing, needs to be outside rewrite… ?
my .htaccess config
SetEnvIf Authorization ‘(*)’ HTTP_AUTHORIZATION=$1
Require all granted
try using double quotes →
SetEnvIf Authorization “(.*)” HTTP_AUTHORIZATION=$1
If this doesn’t work you may have to put it in the conf file (inside VirtualHost tags)…
<VirtualHost>
# …
SetEnvIf Authorization “(.*)” HTTP_AUTHORIZATION=$1
# …
</VirtualHost>
Sorry - there’s quite a few dependancies on your host configuration that may determine where this needs to go…
I’ll try and see, I though to use Sashido…