Questions tagged as 'api'

1
answer

How to save files on separate servers by extension

I have a WEB API that receives a file via POST it follows the Controller code: public async Task<HttpResponseMessage> Post() { // Ver se POST é MultiPart? if (!Request.Content.IsMimeMultipartConten...
asked by 06.01.2017 / 18:27
1
answer

REST API Versioning. Is there a way to do it and what would be the best option?

I currently develop APIs for integrating internal services with our company and in the near future we will have the opportunity to make available some of our APIs to external partners. Suggest the idea of an API versioning in a team brainstor...
asked by 26.10.2016 / 11:41
2
answers

Joining Modal Bootstrap with HTML5 History API

Is there a way to merge the Bootstrap modal (any version) with the API History ? p> The logic would look like this: When opening the modal the URL in the navigation bar would change to exemplo.com/modal-aberto and when closing the mo...
asked by 27.03.2014 / 04:29
1
answer

ticket php - how to check if the ticket generated by my system was paid [closed]

My system is generating a ticket to be paid at Banco do Brasil. How do I know if that ticket was paid?     
asked by 14.05.2015 / 23:01
1
answer

Is ASMX web service obsolete?

I came across the need to consume an ASMX Web Service. So far I had just consumed RESTful APIs. I noticed that the same is quite different from a RESTful API, for example. Given the way it's set up, it looks like it's already been set aside,...
asked by 22.03.2018 / 13:23
1
answer

JSON return conversion error for JAVA Class

I have a java class public class PRODUTO extends SugarRecord implements Parcelable { private float id_pro; public PRODUTO(float id_pro){ this.id_pro = id_pro; } public float getId_pro() { return id_pro; } public void s...
asked by 16.05.2018 / 07:11
1
answer

Doubt when deserializing objects JSON C #

asked by 28.09.2017 / 03:49
1
answer

Error using POST in Laravel API

I'm learning how to build an API using Laravel 5.4. *. No Api.php : $this->get('products', 'API\ProductController@index', ['except' => [ 'create', 'edit' ]]); No Product.php : class Product extends Model { pro...
asked by 13.10.2017 / 21:00
1
answer

How to get filenames inside folders on WEB server API

I have a directory File / Uploads AndIwouldliketolistallfiles,insidethisdirectoryIhaveNfolders.WhatI'veachievedsofarishere.stringpath=HttpContext.Current.Server.MapPath("~//Arquivos//Uploads"); string[] files = System.IO.Direct...
asked by 08.01.2017 / 00:20
1
answer

When consuming an API that returns me serialized data in JSON, how do I know the data types of the properties?

I have no experience with JSON or web services, but I'm trying to consume an API that returns me weather data. Here is the documentation of the API I am trying to consume. This API returns me serialized data in JSON. As I read about JSON...
asked by 14.10.2016 / 03:24