Questions tagged as 'api'

1
answer

Integrate RDStation with Django + Python to send lead

Good morning guys, I have a problem: I have an LP that has to save the lead in the Postgres database and automatically send that lead to the RD platform using their API. Using the curl I do as follows: curl -v \ -X POST \...
asked by 26.09.2018 / 16:12
1
answer

Consume API with react

Can anyone help me with how can I consult this API? ## Cadastro '''sh $ curl --request POST \ --url https://dev.people.com.ai/mobile/api/v2/register \ --header 'content-type: application/json' \ --data '{ "email":"[email protected]", "name":...
asked by 19.09.2018 / 15:48
1
answer

Working with asynchrony using ReactJS

I have the following code: requireUsers = () => { this.users = database.ref('users') this.users.on('value', snapshot => { this.state.users = snapshot.val() Object.keys(snapshot.val()).map((value,key) => emails[...
asked by 04.11.2018 / 04:32
1
answer

Digitally sign documents using the Citizen Card Digital Mobile Key

I have developed an APP in Apache Cordova (HTML5 and Javascript), which is in production and already has thousands of users, and now requires users, Portuguese citizens, to digitally sign a document. The Public Administration in Portugal has a...
asked by 10.05.2018 / 22:57
2
answers

Consume API with javascript / jquery

I have to consume an api in javascript / jquery from IBGE Click here , but I do not know how to make the data of the input filled together with the link link {searches}. Below my code                                     <script>...
asked by 02.05.2018 / 19:58
2
answers

How to create a Ruby On Rails application (not just an API) and provide some routes like API

Hello, I'm developing a common system with ROR and it has a structure not just an API, it has its views and everything. The question is that I'll also build an API to serve it for a mobile app and when I go about it I'll just find people expl...
asked by 05.10.2018 / 13:23
1
answer

API Google Maps + PHP

I need that while $ ig is = 0 the icons are a type, when $ ig = 1 the icons are another type, another image in the case. followthecodebelow:<?phpinclude"../../conexaomaps.php";?> <!DOCTYPE html> <html> <head> <...
asked by 29.08.2017 / 07:21
1
answer

Show result JSON via Ajax

I'm not very knowledgeable about javascript, but I need to integrate a payment API. I've never done integrations with any API before. Following the documentation I saw that you first need to generate a transaction token. So I have this...
asked by 16.08.2017 / 20:01
1
answer

Onclick on Marker in the Maps API

Hello, how do I execute onclick on a marker of maps? My code is this: var marker = new google.maps.Marker({ position: myLatLng, map: map, icon: andando, shape: shape, title: beach[0], html: beach[5], zIndex:...
asked by 08.09.2017 / 19:32
2
answers

How to receive instant payment by credit card? [closed]

Well, these days I had to refuse a site and application proposal, since they needed me to have a payment method for the application / site where it should be approved instantly so that the request was already delivered. I was working with the pa...
asked by 20.06.2017 / 07:23