Questions tagged as 'api'

1
answer

default MVC for Controller in codeigniter

I have the following scenario, some models that will be accessed via administration (site) and via client (app), in administration it can read and write data and in the client only read data. My question, what is the best way to follow the MVC...
asked by 21.03.2017 / 01:00
1
answer

Confirmation of facebook sharing with the API for WEB

I have a code in php with a facebook button, when clicking the person shares the content, however, on my site has a (regressive) counter, every time someone shares, it removes 1 from the counter. The button was generated and is functional, I wou...
asked by 04.02.2017 / 21:08
1
answer

How do you consume custom routes with ember?

My api rails has the route users / me that returns the data of the current user, it is written like this: #routes resources :usuarios do get :mim, on: :collection end #controller def mim render json: usuario_atual end H...
asked by 03.11.2016 / 22:04
1
answer

Make a purchase with a credit card with Cielo API

I would like to use Cielo's API to make a purchase with a credit card. For example, I signed up for a product on my Cielo account, I have the product ID, and would like to use Cielo's API to make a purchase with a credit card. I have the f...
asked by 07.11.2016 / 18:50
2
answers

What is Serialize and Deserialize for? [duplicate]

My question is what is it for Serialize and Deserialize in C #. I have an API and am having some issues with this, so I want to understand it better.     
asked by 29.12.2015 / 12:46
1
answer

Undefined index: stream

I'm studying php and I can not understand the reason for this error. It runs the code as it should to some extent. Basically I am trying to use a database where users will enter the twitch nicks (everything working ok so far) and from that datab...
asked by 08.11.2016 / 21:13
1
answer

Login with Facebook - I can not log into the application itself with the developer account

I have a website, where I include login for users, using the facebook API. Everyone can log in normally, but my application Administrator login that I created for login does not go in, ie, the only login that does not work is my admin applica...
asked by 16.12.2016 / 04:11
1
answer

I need to put a link in my Google Maps

I have a map on my site, where the location of the establishment on the map has the logo, instead of the default Google Maps PIN, a PNG image appears. I need this image, when clicking, to take a specific URL within the site itself. I already...
asked by 19.09.2016 / 23:03
2
answers

Google Maps does not open after the app is launched

I'm using the Google Maps Android API, but it's not working when I send the app to Google Play. In the debug it works normally and when I run the application through Android Studio too, but when I launch the application to the Playstore it does...
asked by 02.08.2016 / 20:41
1
answer

Include data in Json beyond what comes via Mysql

I'm building an API in PHP / Mysql that will feed a hybrid APP, also under construction, via Ionic. The data traffic is via Json. I'm a newcomer to Ionic, Angular, JS, and Json ... Reasonable in PHP and Mysql. I mean ... heeeeelllllllp please...
asked by 14.09.2016 / 00:20