Questions tagged as 'api'

2
answers

Loading Google Map

I want to link to a website that I'm developing a Shops API. I'm using the following Google API - link If I copy the whole code into an HTML, it works fine, if I put it inside my site, the map does not load and shows no error. <styl...
asked by 12.06.2018 / 21:44
0
answers

PHP - How do I integrate with API

I have a form in Wordpress (contact form 7), when the user submits, I need to generate a json with the fields and send it to an external API. I needed to use with class: <?php if ( !defined( 'ABSPATH' ) ) exit; if ( !class_exists( 'CHN' )...
asked by 14.06.2018 / 18:18
0
answers

Error while posting with a TypeScript API on Ionic

I am developing an API in flask and trying to make a POST request with ionic gives the following error: Error: Failed to load http://127.0.0.1:5000/login: Response to preflight request doesn't pass access control check: No 'Access-Control-A...
asked by 21.06.2018 / 15:06
0
answers

send array post in AngularJS

Talk to people, blz? I have a question to send two attributes to an api with authentication. I need to do this with angular JS. This is the C # code of the API method: [Route("cadastrarProduto")] [ApplyModelValidation] public IHttpActi...
asked by 21.06.2018 / 03:08
0
answers

Why does the Google Maps API work in the APK release, but does not show the map in the APK loaded in the store for open beta testing?

In the APK release with key goes. The map APK does not appear in the APK. Here is the manifest: <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="br.com.blablabla.blablabla.android" android:installLocation="auto"...
asked by 12.06.2018 / 05:27
1
answer

Error when consuming angular api

Good afternoon. I am consuming an api (pokemon), But it does not work, PokeListenerComponent.html: 6 ERROR Error: Can not find a supporting object '[object Object]' of type 'object'. NgFor only supports binding to Iterables such as Arrays....
asked by 31.05.2018 / 20:23
2
answers

Consume api - Angular

Good evening I'm consuming an api of movies on Angular. But I can not display in the template, in the console.log this is appearing right, but I can not pass the value pro template My component: import { Component, OnInit } from '@angular/c...
asked by 01.06.2018 / 00:31
1
answer

How to receive data in JSON (REST)

Hello, I'm learning to program, I'm in the first semester of development and I'm being charged at work to learn how to do it, and I'd like to know if what I did is right or not. <!DOCTYPE html> <html lang="pt-br" dir="ltr"> <hea...
asked by 01.06.2018 / 19:16
0
answers

Error when querying API in Angular

Good morning, I'm trying to access my API by angular through the get of the http module, my files are in my github repository if someone wants to take a look. I'm following this tutorial here to make the request, but always gives the...
asked by 01.06.2018 / 18:38
0
answers

How to create routes in an ionic application using google maps?

I'm developing an ionic application that has the following functionality ... Take the user's current location and the location of an item in the list (Let's say it's a mall) and create a route between the user and the mall. I have no idea how...
asked by 31.05.2018 / 06:05