Questions tagged as 'api'

0
answers

What is Reactive Extensions for JavaScript (RxJS)?

I believe for anyone who develops with Angular for example and it is very important to understand the concept of this library. What is it? When to use?
asked by 27.03.2018 / 16:21
0
answers

Create API for SMM

I would like to know if anyone can help me with a logic, I am developing a SMR SCRIPT system, Social Media Marketing, this panel aims to sell tanned, followers comments, views and etc. Well, the system is ready, it already sends data via api...
asked by 16.03.2018 / 15:15
1
answer

Google Drive API to fetch only images

I recently started to study the Google Drive API. I'm able to list all Drive files and have access to all of their attributes. However, I was asked to search only for image files. What did I do? I played the search code inside a JavaScript:...
asked by 20.03.2018 / 12:36
0
answers

Process a JSON return with JQuery

I'm doing a job for college, and I'm having a hard time getting a certain return from the Google Maps API. I want to access some information on the return for example: formatted_address long_name address_components And other data,...
asked by 28.03.2018 / 19:23
0
answers

how to consult the distance matrix with geocoder together?

I'm developing an app that uses the google API to display on the map the places registered along with the distance from each location as follows. mMap.addMaker(new MarkerOptions().position(latLng).title(nome do local).snippet(distancia do loca...
asked by 11.03.2018 / 21:37
1
answer

What should I return in a REST API when the results are either true or false?

When I search an information in the database and this information is not returned (since it does not exist), what should I do? Filling a JSON object for GET return? And if I return false? Can the response be the status code 201 or 404? What w...
asked by 21.03.2018 / 20:14
1
answer

How to change the response of WebHook in WooCommerce?

I have a problem in the WooCommerce REST_API, in the case of the response of the wp-json / wc / v2 / orders endpoint, in the products (line_items) the metadata is not returned > ( metadatas of the products). Asintheimageabove,itcanbeseenth...
asked by 08.03.2018 / 14:30
0
answers

How can I use nginx to redirect soap requisitions

I have a web server hosted on a server that uses nginx and another server that has a SOAP api. I would like every wsdl request that came to the web server (nginx) to be forwarded to my wsdl server, is it possible? Thank you.     
asked by 08.03.2018 / 13:48
0
answers

Increase SESSION lifetime in PHP

I built an API using PHP to use it with Applications. When I exit the application (without my closing or logging out) after a while, the session expires, making application activity inaccessible and returning errors. How do I stop this SES...
asked by 09.03.2018 / 19:18
0
answers

Consuming api with validation

Next, my método is working correctly, but I would like to do a validation if I can not succeed, letting the user know that I could not adicionarConta() have any way I can do this? Webservice method addConta(conta: ContaInter...
asked by 09.03.2018 / 20:31