Questions tagged as 'restful'

0
answers

Cross origin ionic problem

Personal'm kinda new with Ionic 3, and I'm experiencing this error http://localhost:3456/usuario/save. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8100' is therefore not allowed access....
asked by 03.07.2018 / 20:33
0
answers

How to delete bank record by parameter id by http rest?

I'm trying to delete by passing this id parameter, it's giving not found.Obs: All other methods like get post and update are working, I'm sure the error is in uri, ie I'm not passing the parameter correctly. link I've tried this other way but...
asked by 26.05.2018 / 08:39
0
answers

Restful implementation of express routes do not work on the server

I have a Restful API implemented in NodeJS running normally locally, with all the routes responding, all right. However, when putting into production on the KingHost server only the root route works. I made a basic application for testing alt...
asked by 10.05.2018 / 19:28
0
answers

Generate Json File from Javascript values - REST and NODE

I'm trying to create a form data reading routine HTML and, from the value of the input fields, generate a JSON file with NODE JS (create a .json file, it is not translate to json ). I also want to implement the...
asked by 23.02.2018 / 18:40
1
answer

POST method receiving object empty. W#

I have a controller with a POST method that always receives the null parameter. I'm sending JSON through postman. I have tried the class as a parameter, I have already tried it by string as a parameter and in both cases it is leaving it null;...
asked by 04.02.2018 / 23:34
0
answers

Error: 500 When registering data using webService

When registering data in my database using webservice the following error occurs. Sending 'POST' request to URL : http://localhost:8080/FazendaWS/webresources/fazenda/Usuario/inserir Post parameters : {"login":"felipe10","senha":"1234","email...
asked by 05.02.2018 / 01:48
1
answer

WebService REST with authentication [ID, CPF, User, Password]

Hello, I have been searching the web for some time but I can not find clear answers. I want to implement a webservice rest, with tokens and etc for security, and the webservice consists of just GET for queries with our SQL Server, but I'm hav...
asked by 27.01.2018 / 15:22
1
answer

Sending email in a ji-js api

I have a demand to develop an api that among other features needs to send warning emails, in the architecture it has been defined that we will use javaEE jax-rs has anyone worked with any api that integrates sending and receiving email in java?...
asked by 23.01.2018 / 20:24
0
answers

JSON is not returning with accents

I have a question that I do not know what to do with it, but I have tried several ways to put the annotation of Spring Sun Procudes UFT-8 no solution worked. @Transactional(propagation=Propagation.REQUIRES_NEW) public ResponseEntity<Usuario...
asked by 18.01.2018 / 19:08
1
answer

Android Volley, retrieve response from server

Hello, I'm using the Volley for Android to connect to my Webservice, however I'd like to display the status-independent server response that returns HTTP through the webservice. explaining better: When I call the webservice and the response c...
asked by 27.12.2017 / 23:35