Questions tagged as 'api'

1
answer

How to bring an image of a site in the Node API request?

I'm making an application and wanted to give a request that the API bring an image of that site in response. For example, giving the 404 error would like you to bring this . How can I do this? I currently have a method like this: app....
asked by 21.12.2018 / 18:27
1
answer

Request API with JavaScript

I'm doing a web application in which the purpose will be to use an API to just list some information (GET) and for that I would use only javaScript and html. The API is this: link and has key (headers). const app = document.getElement...
asked by 11.12.2018 / 12:48
1
answer

Error in Twitter user_timeline request

I'm having a hard time finding some material that explains how I use the Twitter API to pick up the latest posts from a particular user and display them on my website. According to the official documentation I got the following requisitio...
asked by 19.06.2014 / 05:35
1
answer

Image manipulation with nodejs and ionic

I have an Ionic application, in it I have to send a converted image to base64 for an api, and api to the database. I was getting error by the size of the payload, I found on the internet about using the JSON.stringfy, apparently it worked, howev...
asked by 11.11.2018 / 03:40
1
answer

Sending information from a JavaScript site to the NODE.js server

Well, I have a site in javascript where I get information from a Rest API (json) I would like to get this information to my server (A node.js that I created that connects to the database) It's my first time working with web development, wo...
asked by 31.10.2018 / 16:27
1
answer

Foreach com table

I'm creating a website that aims to show the games that are happening in the world in real time. I'm trying to make a for the table lines to be created "alone" according to the amount of games I will have at the moment I come from the API, I'm u...
asked by 03.12.2018 / 12:25
1
answer

How to get data from an array without using the Index

I am trying to get data through an API (bet365) it returns this data in JSON, I have created a function to extract this data and transform into array The following function:        public function api_footer () { $url = "https://api.betsap...
asked by 30.11.2018 / 00:29
1
answer

cURL failed to send array

Well, I have a small problem sending cURL data, when I send the data to the API it returns me that there is one of the fields that is not an array: {"errors":["items deveria ser um Array"]} Code: $user = 'xxxxxxxxxxxxxxxxxxxxxxxx'; $...
asked by 02.10.2018 / 15:02
1
answer

Read / Search information inside a Json with PHP

I'm starting now with the most complex queries within PHP. As I have always played WoW I decided to learn a little about API with PHP using the Blizzard API that gives me some information. After much searching I was able to pull the informati...
asked by 29.08.2018 / 17:29
1
answer

Rendering map using API with spring boot

I'm developing a web application using spring boot and I'm trying to implement a map on the main application screen. The latitude and longitude are being picked up in the mobile application, so I'm doing a CartDTO to get submit the coordinates o...
asked by 13.07.2018 / 05:43