Questions tagged as 'api'

0
answers

Integration with CIELO

I have a question on how to treat --data-binary , header I know I can treat it like this: $data = [ 'USER' => $this->username, 'PWD' => $this->password, 'SIGNATURE' => $this->signature,...
asked by 21.02.2017 / 03:20
1
answer

Web api 2 within MVC project. How to prevent redirection to the login page when the token is not valid

I'm doing an API Rest in an MVC project. In the API controllers ( ApiController ) I place the DataAnnotation Authorize , when the token entered is invalid, it detects and tries to redirect to the login page. But I do not want this be...
asked by 02.02.2017 / 21:05
0
answers

Faster form API REST - PHP

Good morning people Stack overflow !! Next, I'm doing an integration next to my Sql server bank of a Rest API, where I pass the information I want in the URL and get the content as json I make several requests in this API, bec...
asked by 16.01.2017 / 13:22
0
answers

Monitor changes in the value of a JSON attribute of a URL

I'd like to know the most cost-effective way to monitor changes to the value of an attribute returned by a URL in JSON format. That is, I have the URL of an API that returns something like: {"high": 340.0, "volume": 261.83} And I would like...
asked by 09.01.2017 / 22:25
1
answer

Javascript pure, json and api

Hello everyone, I'm having a question, I'm starting with web development and tals and I'm studying some javascript and json. Well let's my doubt, I'm getting information from a json file and submitting via javascript in html. I'd like to k...
asked by 29.12.2016 / 21:50
1
answer

Errors being generated when converting python code to exe with cx_freeze

I did the conversion of the file tucha.py to exe following the instructions and with the following setup.py: from cx_Freeze import setup, Executable setup( name="tucha EXECUTABLE", version = "1.0.0", description = ".py to...
asked by 24.12.2016 / 03:20
0
answers

Problem in managerengine xml

Hello, <operation name="GET_REQUESTS"> <result> <status>Failed</status> <message>POST_ONLY_URL</message> <error_code>4001</error_code> </result> </operation> link Does anyone...
asked by 08.12.2016 / 16:57
0
answers

How to version REST API?

Is it good practice to version our API's? ex: ( link ) If yes, what best practice to version? I am using Apache server with Silex micro framework PHP, could I create a folder / directory within the app with name of "v1" or should this be handled...
asked by 23.11.2016 / 14:35
0
answers

Api Web Calls 2

Well, I have a rather boring task which is the captchas handling, I make a get request by sending as a parameter a code I want to access, my API opens the page with Webdriver, maps and takes the url of the captcha image. I take this captcha to A...
asked by 05.12.2016 / 17:48
0
answers

Rest API in PHP - how to work with terminated routes in .json?

I'm creating a Restful web service in PHP. I'm not using any framework. I am following the recommendations of standards or best practices for developing web APIs, suggested by the White House . On their website, in the first line, we find...
asked by 27.10.2016 / 16:11