Questions tagged as 'api'

1
answer

Class of the pagseguro does not work with CNPJ.

I had a problem making payments using the class provided by pagseguro and cnpj. Every time I tried to make the payment, I gave the following error: HTTP 400 - BAD_REQUEST [THE REQUEST CANNOT BE FULFILLED DUE TO BAD SYNTAX] 11164 - senderCPF in...
asked by 05.06.2015 / 22:19
1
answer

Importing an objc control into swift: Error on the one hand (func) of my contole

I decided to make an app in swift this time, and as usual I use my custom control (MenuView). In the objC I know how it works and everything worked, in swift I followed all the steps, import in the bridging-header.h, and put the MenuViewDelegate...
asked by 28.10.2014 / 00:18
1
answer

How are unofficial APIs made?

I would like to create an Xbox API in PHP that would return user information as there is no official one. How can this be done? Using a crawler? I saw that there is CasperJS, I used it and actually I even got some information, but I did not want...
asked by 02.08.2014 / 05:08
2
answers

Identify pendrive

I need the application to copy a file when a pendrive is connected. Can you identify when the removable disk is connected and the volume name so that the system does not copy to the wrong pendrive?     
asked by 22.01.2015 / 18:43
2
answers

How to decode the following JSON? PHP

{ "data": { "app_id": "0000000", "scopes": [ "public_profile" ], "user_id": "00000000" } } I want to get the USER ID with json_decode. How do I get it?     
asked by 06.07.2016 / 19:07
1
answer

How to get names of cities that are around me with API on a remote server?

I currently use the lines of code below to list the city where I am through latitude and longitude, but with the same coordinates, I want you to also list the cities that are around, for example mileage. It's possible? I researched a lot about t...
asked by 04.01.2016 / 22:24
1
answer

Can I integrate payments into my system with banking institutions?

Hello, I have a problem: I need to make a money deposit into a person's account from my system, which I implemented. I need to know if I can make payments or transfers between accounts from my system. I need to be able to make a bank transfer...
asked by 20.04.2016 / 06:03
1
answer

Insert web class api into existing web project

In my visual studio 2012, I have a solution with several projects and one of them is web. In this project, I would like to include a "Web Api Controller" class to do some testing. I created a class with the name ValuesController, with all the...
asked by 20.08.2014 / 04:06
1
answer

Strapi freezes when selecting the database

Today I decided to venture with CMF Strapi , I followed several tutorials, but it always freezes in the select part the bank, even I starting the banks. Mongostarted When the Strapi stops working Does anyone have any idea why this...
asked by 06.11.2018 / 01:25
1
answer

Web API does not accept parameters in constructor with Autofac

I've created an API to query client, this is my configuration: public static class AutofacWebapiConfig { public static IContainer Container; public static void Initialize(HttpConfiguration config) { Initialize(config, Regi...
asked by 23.03.2018 / 15:17