Questions tagged as 'api'

0
answers

Extract only numbers from a list

I'm using the package in R fbRads to collect Facebook Ads data. However, when I transform it into a data frame, I get a list with the values, rather than the numeric value. How can I separate only this value? library(fbRads) library(tid...
asked by 17.09.2018 / 15:43
0
answers

WhatsApp cutting text after the equal character (=)

I noticed that WhatsApp Web, when forwarding a message via link, for example with the link below, it will cut the character = : https://web.whatsapp.com/send?phone=551100000000&text=o%20valor%20é%20=%20100 The same does NOT occur...
asked by 18.09.2018 / 22:14
2
answers

c # Consume an API using POST and header application / x-www-form-urlencoded passing a JSON

Can you give me a light? I need to consume an API that requires that your header have a content-type: application/x-www-form-urlencoded . This api takes parameters in json and returns json. Using jquery I get but I need to create a cons...
asked by 08.08.2018 / 17:16
0
answers

Data security in a plumber api R [closed]

Friends, I created an api with plumber for client data transfers, ie confidential data. At the address of the url goes the ip of my machine. With regards to the security of the data and the protection of my computer, what is the risk that I run?...
asked by 06.08.2018 / 20:46
1
answer

Pass object to a sql server proc

How can I make an SP that receives an object? This is my SP ALTER PROCEDURE [dbo].[sp_alt_funcionarios] -- Add the parameters for the stored procedure here ( @id int, @nome varchar(60) ,@dataNascimento DateTime...
asked by 09.08.2018 / 22:04
0
answers

Passing parameters in R in an api with the Post method?

Friends, I created an api in R using Plumber with the post method. but at the time of calling this api and passing the parameters I'm not getting it, I call it this way: resp <- POST("http:url", body = list(datainicio = '2018-07-23' , dataf...
asked by 02.08.2018 / 17:09
1
answer

ASP.Net Web API - JSON without accent% 20% C3% A7

I'm consuming an api but the return JSON does not come with the correct accent. in place of the spice comes% 20, for example. In the request json I even put the encoding.UFT8. How can I code this correctly? private string jsonRequest = @...
asked by 14.08.2018 / 16:23
0
answers

Google API authentication issues in Ruby

I'm developing an API in Ruby that communicates google-api-ruby-client but when I try to authenticate I get some errors. example of my code: class GoogleService require 'googleauth' require 'signet/oauth_2/client' require 'goog...
asked by 13.08.2018 / 23:37
0
answers

About WordPress - Post articles via API or

Hello, I have 5 websites on Wordpress.com, and I would like to develop a way to submit articles without having to log in to each one ... What ways do you have to do this? Is Via API? This is it here: link Have a simpler / faster implemen...
asked by 16.07.2018 / 15:41
0
answers

Error when querying api created in R with plumber

I have created a ppi in plumber, when I query this api directly in the browser I can see the data, but when I use the GET () function I get the following error:    Error in prettyNum (.Internal (format (x, trim, digits, nsmall, width,   3L,:...
asked by 30.07.2018 / 14:06