Questions tagged as 'rest'

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

Problem making API requests

I'm trying to order an API: EGOI but I get an error. The request is as follows: link Do you know how to pass parameters to ZEND? I get the following error: <?xml version="1.0" encoding="UTF-8"?> <Egoi_Api generator="zend...
asked by 01.06.2018 / 11:08
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

consumption webservice rest returns: No 'Access-Control-Allow-Origin'

Deadlines, I have a problem to consume a third-party Webservice, when trying to consume it by java script the return I get is:    XMLHttpRequest can not load    link .   Response to preflight request does not pass access control check: No...
asked by 08.05.2018 / 16:28
2
answers

Flask - sending form return to another function

Below is my default.py where I define the end-points; What I'm trying to do is grab the FORM information that is in "/" send to return_request () and show the result of the Request in / output " def return_request(endPoint): headerInfo =...
asked by 08.05.2018 / 17:06
1
answer

TJson.ObjectToJsonString in class with variable TObjectListT

I have a class TEntrega , which in turn has a variable TObjectList<TItens> I need to generate a JSON from this class to send to a webservice. For this, I used TJson.ObjectToJsonString(Self) . My result was as follows:...
asked by 04.05.2018 / 14:35
0
answers

How do I capture the body of my request rest - Grails

I have the following REST request in grails: def http = new HTTPBuilder(instance_domain) try { http.post( path : "AtualizarPedido/"+urlOpportunity.url, body : postBody, requestContentType: URLENC) { resp, json -> log.info "*...
asked by 27.04.2018 / 21:47
0
answers

Grails - Receive return from my REST request

I have a grails code for a POST-type REST call where I pass the login parameters and it was to receive the token and an access route, it is correct, both by Postman that I receive these parameters correctly, and by the code also after all , does...
asked by 27.04.2018 / 15:53
0
answers

Debug - Discover the route of my rest http - Grails

I have a POST rest http call, where I get a file of my parameters and I am going to log in, I believe she is speaking because the route I'm setting is wrong, there is a missing bar, or the uppercase and lowercase letters . log.info "*...
asked by 27.04.2018 / 15:21
1
answer

Error 500 in java webservices when testing on postman

I've been trying to solve this problem for a long time, I set up my environment about 3 times, but at the time of testing, postman always gives 500, I think my problem is not in the entity or in DAO, since I tested in eclipse via desktop, howeve...
asked by 25.04.2018 / 19:43