The Slim Framework support forum has moved to This Tender forum is no longer maintained or monitored.

Web service rest

Luiz Carlos's Avatar

Luiz Carlos

21 Dec, 2015 02:08 AM

My web service uses the slim framework and works correctly using this request:

http://localhost:8000/wsrf/cadastrarFarmaciasPlantao/TESTEA/38410101/38410202/38410303/35172062/Rua X/email@emailcom/site/2015-10-15/IMAGEM01JPG

but if I add a point (.) in the email or on the extent of image crashes:

http://localhost:8000/wsrf/cadastrarFarmaciasPlantao/TESTEA/38410101/38410202/38410303/35172062/Rua X/[email blocked]/site/2015-10-15/IMAGEM01.JPG

does anyone know the cause?

request header:
app->post("/cadastrarFarmaciasPlantao/:nome/:telefone/:telefone2/:telefone3/:cep/:endereco/:email/:site/:data/:imagem", function ($nome,$telefone,$telefone2,$telefone3,$cep,$endereco,$email,$site,$data,$imagem)

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac