Questions tagged as 'api'

0
answers

RESTful returns undefined in JS Class

I'm making changes to the HTML after taking data from the LastFm API, working with class in JS, making method calls within the class itself, where the date was called before, but this returns undefined: class Tidal{ constructor(ev)...
asked by 26.08.2018 / 14:46
0
answers

Retrofit does not recognize adapter

Error: Caused by: java.lang.IllegalArgumentException: Could not locate call adapter for rx.Observable<java.util.List<pojo.Professional>>. Tried: * com.jakewharton.retrofit2.adapter.rxjava2....
asked by 25.08.2018 / 20:32
1
answer

Generate SH1 key facebook login

Good evening, I'm trying to implement a facebook login in my project, but I can not generate it, could you help me? Windows You will need the following: Ferramenta de gerenciamento de certificado e chave (keytool) do Kit de desenvolvimento Jav...
asked by 16.08.2018 / 04:49
0
answers

I am performing an integration with sky api but I get an error message:

I'm doing an integration with api-cielo 3.0 but I'm getting an error message: application code package cieloecommerce.sdk.ecommerce; import java.io.IOException; import cieloecommerce.sdk.Merchant; import cieloecommerce.sdk.ecommerce.Sal...
asked by 14.08.2018 / 22:03
0
answers

How to sum values from a request:

Example: request = requests.get('https://api.amountofsomething.com') quantidade = requisição.json()['amount'] This request returns the quantity, for example: {[{25}{120}{158}{0}{2}{10}]} I need to add values without patterns. I tr...
asked by 09.08.2018 / 05:06
0
answers

I am consuming an API with basic authentication oauth and returns: Incorrect request (400)

Talk, guys! Next, I developed a spring boot api and I already tested it with the postman and it is working normally, its security is very basic auth authentication. Now I am testing in a C # application that I have here to return the token to...
asked by 12.08.2018 / 17:49
0
answers

Magento 2 - Consumer is not authorized to access

In some endpoint of the magento 2 API I get information from    Consumer is not authorized to access% resources I have released all possible permissions in Integrations and the return is the same as the API. I've been authenticati...
asked by 13.08.2018 / 15:19
0
answers

Is it possible to resolve the error In 'Access-Control-Allow-Origin' on the front end?

Personally I need to consume a third-party API with Javascript, I do not have access to release the CORs in the API .. and this error is appearing as I can solve? I have the following request using the axios: obs: When I make the request in post...
asked by 25.07.2018 / 01:02
0
answers

Problem trying to login with Facebook

I'm trying to put a login button with Facebook on my site, but it's giving an error. When I am logged in the following message appears:    "Unsafe login blocked: You can not get access to token or log in to   this app from an insecure page. T...
asked by 24.07.2018 / 17:51
0
answers

Multiple fields with the same parameter in POST (form-data) using Unirest Java

My need is based on this library Unirest . I need to make a post request for a% ap_%. Both services are internal and I have access to the code. I get the information from the front as follows: { "id": [ 15869550, 159757...
asked by 26.07.2018 / 14:53