Questions tagged as 'api'

1
answer

User with own page

I'm doing a portal, and to do the registration you need cpf and email. Then I send a confirmation email, he clicks on the link and his situation on my bd changes. So the user can access the portal. It will only have one page, and all users will...
asked by 14.12.2017 / 15:05
2
answers

Restful API authentication error with PHP cURL

I am writing a web platform that uses the API RESTFUL of SPTrans - Live Eye . Authenticate my session with the code: <?php $url = 'http://api.olhovivo.sptrans.com.br/v2.1/Login/Autenticar?token='.token; $curl = curl_init($url...
asked by 14.12.2017 / 17:39
0
answers

JWT doubts in practice

I created a portal where the user registers and accesses it with cpf and email. When the user enters the portal, it will have a table that will be filled according to which user just entered (there is only 1 api with data of several users), and...
asked by 19.12.2017 / 16:40
1
answer

Integrated SMS API with PHP

I have a visit scheduling form, when the user does their scheduling and confirms an email is triggered for the same with scheduling information. I would like to know if anyone has already integrated an SMS API with PHP. Example: My sending...
asked by 22.12.2017 / 12:06
1
answer

Convert CURL command in WebRequest

I need to run the command below: curl -X POST -u "{username}":"{password}" -H "Content-Type: application/json" -d '{ "name": "my_environment", "description": "My environment" }' "https://gateway.watsonplatform.net/discovery/api/v1/enviro...
asked by 02.12.2017 / 21:14
0
answers

API for barcode query

I've been negotiating with a company to be developed, among the necessities came the registration of the product quickly without needing many user inputs. Given this I had the idea of maybe getting the basic information of the products through s...
asked by 30.11.2017 / 02:33
2
answers

What would Win32 be?

In many places on the internet, I see the expression Win32 but never an explanation about.    Win32 applications, etc. I have always associated with 32 bits , but I do not think it has anything to do with it. A Windows game that uses mor...
asked by 05.10.2014 / 19:48
1
answer

GET does not catch the rest of the url after &

I am making an API to shorten links, the links I use could not get the rest of the url after the & sign. <?PHP $long_url = rawurldecode($_GET['link']); echo $long_url; api.php? link = link     
asked by 19.11.2017 / 22:30
1
answer

How do I query an AWS RDS service through the AWS API?

I have a database in the AWS RDS service and an API in the AWS API GATEWAY services. One of the options for requesting data when creating a method is to use other AWS services. Searching for this post I saw that it is not possible to direct...
asked by 22.11.2017 / 07:41
1
answer

Add date in table

I'm pulling an API and putting its data inside a table, but that data goes to the table part that is the td, but I want to put the date the data was implemented there, so the date would stay in th. Currently my code looks like this: <div...
asked by 06.11.2017 / 15:37