Questions tagged as 'api'

1
answer

Must the field rule be in the backend or frontend?

I'm building an application where the backend is an API and the frontend is Angular2. In a user's registry I do a validation in the API and if a required field is not filled in the API returns an error stating the field that should be man...
asked by 11.12.2016 / 14:43
1
answer

How to add snippets of 'dynamic code' HTML with JavaScript / jQuery

Generally when we want to list data in the front-end tags using back-end tags <%= %> or others. The deadlock I came across was, "How to do this in jQuery?". To explain it better, I'm developing a blog based on Wordpress. As I...
asked by 14.06.2014 / 05:16
2
answers

GET, POST or PUT, which one to use for issuing an invoice?

What should I use when the intent is not to view, save, and update data? I am creating an API that makes the electronic invoice issue, I did the full CRUD for the information of the notes, but now I need to create a resource that transmits th...
asked by 31.07.2018 / 22:14
1
answer

Android vs. Web Sync

I'm developing an application that will work offline on android and synchronize with a web version. I have API that will intermediate this synchronization. Currently the android version has a timestamp to co...
asked by 29.01.2016 / 00:34
2
answers

What status code to use when there is no bank record to return in an HTTP request?

I have an endpoint that returns a list of products. So, if there's any data in this list, I'll set the HTTP status code to 200, and if it does not, I just return a json saying that no record was found and the status code of HTTP 200. My en...
asked by 12.06.2017 / 00:40
1
answer

Monitoring REST API status

I am learning and trying to resolve a case of a POST request where a large body is being sent to be processed by the API and return is a job ID to access the result. It turns out that the time the API takes to process can vary depending...
asked by 22.12.2014 / 14:06
1
answer

Rails and Webmotors

Anyone with any experience with Rails integration with Webmotors APi? I'm using Gem SAVON to integrate the application with the site API and I'm getting the error:    Savon :: SOAPFault: (soap: Server) Server was unable to process request....
asked by 24.12.2015 / 15:22
2
answers

MarketPay API

I'm making a cart system here to test the MercadoPago API. Everything is working except for the part of creating the payment that I have no idea how to start. MercadoPago API I'm not very good at messing with arrays, and I'm here to ask...
asked by 11.12.2016 / 15:05
0
answers

Help with API Instagram

Good morning everyone, I'm a beginner in WEB practices and I'm getting a lot of the Instagram API, all the examples I tested did not work, I found some posts here in the Instafeed.JS forum but I did not understand how to implement and start usin...
asked by 05.11.2016 / 18:33
1
answer

How to integrate the application with Whatsapp? [closed]

I wanted to know if it's possible to integrate a C # application with Whatsapp?     
asked by 19.07.2017 / 14:48