Questions tagged as 'slimframework'

1
answer

JSON API accents Restful [closed]

Good morning, I'm creating an API for studying, but I'm having some issues with accents. When I do a search, I have a response of not found. Below is a test. Would you have a solution for me to solve this situation? Q: Usi...
asked by 15.05.2016 / 17:53
1
answer

Duplicating bootstrap menu

I'm noob in web development and I need a little help from my colleagues, if possible. I'm doing a site, using the bootstrap, and I came across a little problem. I have two drop-down menus and when I click on one or the other both menus are op...
asked by 14.12.2017 / 12:01
1
answer

Slim PHP Problem with CORS

I'm trying to make a request on the server, but I'm having a problem with configuring CORS , api was developed with the Slim Php framework and I'm using middleware #, I left the middleware settings as default by adding ignoreloadingbar...
asked by 24.07.2018 / 18:09
1
answer

PHP CURL Asynchronous

I have a PHP file that does a POST request via curl to another PHP file, I need to place this request inside a loop and do a 10 request at a time without worrying about the return, is there a way to do this request without have to wait for the a...
asked by 30.11.2018 / 17:25
0
answers

curl within another curl to save images

I have an api in Slim Framework, inside the "Service A" api I am using a curl to call "Service B" api, this "Service B" downloads images through the url of them using another curl, he runs "Service A" and calls "Service B", he successfully upset...
asked by 24.09.2018 / 20:24
0
answers

How to configure the Slim 3 passthrough?

I'm trying to build a simple API for studying with Slim Framework and JWTAuthentication. In the case my path / auth returns a JSON containing the JWT token that will be used to access the other paths. But when trying to access the / auth JWTAuth...
asked by 31.08.2018 / 02:54
1
answer

Error "Unknown: Failed opening required" when following slimphp manual

I'm testing the Slim Framework on a machine with Windows 10 , already in the first instructions I received the error: Fatal error: Unknown: Failed opening required 'public\public/index.php' (include_path='.;C:\php\pear') in Unknown on line 0...
asked by 24.11.2017 / 11:28
2
answers

Request blocked by CORS Policy

I'm doing an API with Slim Framework and when I test the answer with Postman everything works fine, however when I put it on the server and tried to make an ajax call to test I got the error below.    Failed to load link : Redirect from ' li...
asked by 15.09.2017 / 15:45
2
answers

Error installing Slim framework

How to fix the error below using the composer. composer.json code already created in bin \: { "require": { "slim/slim": "2.*" } }     
asked by 05.06.2017 / 22:33
1
answer

Compare two tables in mysql by grouping the main table and listing the result of the second table

Hello! I will explain from the beginning .. I am comparing the following tables accounts with clientes  select uses user_id to find all clients with same users_id2 in table clientes as described below, right th...
asked by 16.08.2018 / 09:06