Questions tagged as 'slim'

0
answers

I am trying to migrate a project from slim v2 to nginx, previously this one in apache on linux

This is my configuration I market 404 error server { listen 80; listen [::]:80; server_name psd2.colsan.edu.mx; root /var/www/psd2.colsan.edu.mx/public; index index.php; try_files $uri /index...
asked by 27.11.2018 / 15:43
0
answers

Url Rewrite in web.config does not work

The problem I have is that I can not access the endpoint of my api correctly, it always returns a 404 or 403. The api is mounted with slim on a iis 8 and the structure is as follows: My web.config is located in /v1/Web.config (at the en...
asked by 22.10.2018 / 17:28
0
answers

I have a web services, invoice, invoice_details, product of which I do not enter product

while ($i < count($detalles)) { //------------------Producto----------------// $id_producto = 0; $this->container['logger']->info("entro del while");...
asked by 15.07.2018 / 18:42
0
answers

Create and connect database to a REST API

I need to connect a API REST to a database. I currently have a api in the hosting heroku with all its implementation configured with slim and swagger . This application is connected to a database phpmyadmin...
asked by 30.05.2018 / 13:01
0
answers

API Error REST Slim

   Slim Application Error Type:   Doctrine \ DBAL \ Exception \ InvalidFieldNameException I have a REST API configured with Slim and Doctrine and I need to resolve this error. The error appears when I make an HTTP request from my routes.php...
asked by 12.04.2018 / 12:07
1
answer

How to make a delete in SLIM that is a PHP framework?

I want to delete by id and the backend statements in slim v3, I do not know how it is done ... I have the following sentences for example a get that I do I do it in the following way: Thanks in advance! $app->get('/ob...
asked by 18.03.2018 / 01:17
1
answer

send data http angularjs error [duplicated]

someone could guide me I'm sending data from a service to an api I'm doing it with slim and angularjs but somehow the api does not take the values I sent and probe the api with postman and it works then I imagine it is in the way in which I...
asked by 22.09.2017 / 19:57