Questions tagged as 'rest'

0
answers

Web API Rest Problem with URL

Working with Rest Api C # MVC, I have resource [HttpGet] but does not recognize the URL /bays.json?visit.plate.text=ABC123     
asked by 24.10.2018 / 13:09
0
answers

Is it safe to use the Rest API of Google Drive from the client browser with javascript?

I have a web application with a database on a VPS with Ubuntu. The idea is to save with the transfer of data that they charge, placing the images of the file of articles in Google Drive, where they do not charge for the transfer of data. However...
asked by 23.10.2018 / 01:08
0
answers

Variable required in Rest

I want to make a request with [post] and if any field is null I do not want to continue the service. I want to stop the flow in the controller, The problem arises in the modelstate.isvalid returns true when it should return false. this is the...
asked by 22.10.2018 / 14:04
1
answer

POST form params In API REST

I have to store the data in a BD that sends me an API, this API sends me a POST request to my server with the data as parameters Literal the documentation tells me that "the following parameters as form params" { "solicitud": { "dato1":...
asked by 12.10.2018 / 17:02
0
answers

How to implement oauth 2.0 in JAX RS?

Hi guys, I know the question is wide, but I have had doubts about how to implement oauth 2.0 in jax rs without the need to implement the standard manually. If someone can provide examples using JAX RS it would be great, another thing is tha...
asked by 05.10.2018 / 04:21
0
answers

Retrieve customer data using the API using PHP

I would like to retrieve customer data in a list of orders that I have. Ando something lost in how to recover the detail of each element that forms the XML from the xlink ... The current structure that I have in the XML that returns to me is:...
asked by 30.09.2018 / 23:03
0
answers

Recurring charges in SandBox

My intention is to be able to prove several successful frequent collections made with a test card (APRO) ( link ) Currently I registered the card, I created a plan, I subscribed the card to the plan, but even having created a daily subscripti...
asked by 09.09.2018 / 18:36
0
answers

Failed to return JSON "SyntaxError: Unexpected token in JSON at position 0"

mysqli_connect.php <?php //db details $db_host = '127.0.0.1'; $db_user = 'root'; $db_pass = ''; $db_name = 'db_ws_restphp'; //connect and select db $con = mysqli_connect($db_host, $db_user, $db_pass, $db_name); ?> index.php <?p...
asked by 05.09.2018 / 00:53
1
answer

Error consuming a rest service in angular v6

Until now I have the following, I have my provider with the following code @Injectable({ providedIn: 'root' }) export class GetActuariosService { configUrl = 'https://xxxxxxxxxxx'; constructor(private http: HttpClient) { } getConfig()...
asked by 04.09.2018 / 19:23
0
answers

Problem with access to REST Web Service

I have a web service rest in java, in which, I have already restricted access to it, since it generates a JSON with user data, the problem is that I do not know how to do it so that I as admin can access from the browser, from what I have been a...
asked by 25.08.2018 / 14:16