An application programming interface (API) is a set of routines, definitions, and protocols that allow developers to build application software. APIs abstract implementation and expose only necessary objects and actions to the developer.

featured tutorialHow To Use Web APIs in Python 3
An API, or Application Program Interface, makes it easy for developers to integrate one app with another. They expose...

Brian King • Published on August 3, 2017 · Updated on March 20, 2019

featured tutorialCreating a Laravel API
APIs make the web go round. Let’s create one from scratch using the popular PHP framework, Laravel. See the main tool...

Chris Sev • Published on July 7, 2020 · Updated on December 21, 2020

Subscribe to API
Get notified when new articles on API are published.
  • 20 Results
    • Question

      ERR_CONNECTION_REFUSED when i want to deploy a war file to tomcat

      Hi all, I downloaded tomcat in ubuntu and MySQL database so tomcat runs successfully with my server IP address and the port, and when I want to deploy the war file of my application it gives me “ERR_CONNECTION_REFUSED”
      1 answer3 days agoBy tselawe706APIDigitalOcean Cloud FirewallsFirewallInitial Server SetupUbuntu
    • Question

      How to setup a .netcore application with Kubernetes

      I have the following deployment configuration file for a .NET core 5.0 web api which I am trying to deploy on my DigitalOcean Kubernetes Cluster apiVersion: apps/v1 kind: Deployment metadata: name: test-email labels: ...
      No answers yet20 days agoBy JeroenAPIDigitalOcean Managed KubernetesDigitalOcean Managed Load Balancers
    • Question

      Node.js. Response is delayed after a certain time

      I have published nodejs application under apps. When I deploy for the first time, the response returns fast as it should. After 3-4 hours, the responses are returning 6x-7x slow. I’m also using MongoDb.I did not have ...
      1 answer22 days agoBy TinyElectricBlueClamAPIDigitalOcean App PlatformDigitalOcean Managed MongoDB DatabaseMongoDBNode.js
    • Question

      My API is in digital ocean droplet with an IP only, How can access my API in another Vercel app which has https and currently it blocks.

      Currently a vercel app blocks all API calls claiming that the request to an insecure site can’t be made from a secure one therefore incompatible. I need any suggestion to make this IP to be whitelisted in vercel app, ...
      1 answer22 days agoBy charity mbisiAPIApplicationsDigitalOcean DropletsSecurity
    • Tutorial

      How To Use Web APIs in PHP 8.0

      In this tutorial, you’ll leverage the power of APIs in a basic web application that will retrieve, transform, and display data from the OpenWeather Map API. You’ll build a client for a RESTful API using HTTP POST and ...
      25 days agoBy Mauro ChojrinAPIDevelopmentPHP
    • Question

      This is more of a FYI for Digital Ocean staff

      I have setup my account through google and unable to add comments anywhere. I was hoping to update my own ticket and I get this following error: An error occurred when saving the comment: API call failed: POST https:/...
      1 answer29 days agoBy cameron aeroAPI
    • Question

      Limit Scope of API Token to Resource(s)

      I’m looking to use the DO API to update Firewall entries from a web-application. The hope is to allow clients to access critical application services 24/7 without worrying about anything like DDoS from an external sou...
      1 answer1 month agoBy EthanAPIDigitalOcean API and CLI (doctl)DigitalOcean Cloud Firewalls
    • Question

      Snowflake EXPLAIN query support with Snowflake JDBC Driver

      Is there a way to run an EXPLAIN snowflake query through the JDBC driver with the Snowflake extension? I am running net.snowflake snowflake-jdbc 3.12.8 and it throws an error saying net.snowflake.client.jdbc.Snowflake...
      1 answer1 month agoBy HidingElectricBlueUrchinAPI
    • Question

      How to get webhooks from Tradingview

      Hi I would like to know how can I get webhooks from tradingview.com (from specific IP’S)? Thanks a lot
      2 answers1 month agoBy julio cesar reyes velascoAPICaching
    • Question

      API returning Auth Issue after Regenerating tokens

      Hi,I am facing an issue with API authentication after token regeneration.After regenerating the personal access token and updating script with the new one I am getting 401, {“id”: “Unauthorized”, “message”: “Unable to...
      1 answer1 month agoBy simek.davorAPI
    • Question

      Get Droplet Bandwidth Metrics API units

      I am able to get the bandwidth metrics from the API for any of my droplets. The returned data contains several pairs. The first seems to be the bandwidth usage and the second appears to be a Unix Timestamp. According ...
      No answers yet1 month agoBy Tim MillsAPIBuilding on DigitalOceanProgramming Project
    • Question

      need to check API

      need to check API for a droplet we created in digital ocean need to know the URL structure and how to get API response
      1 answer2 months agoBy KeeonAPI
    • Question

      504 Gateway Timeout NGinx

      I am running into a 504 gateway timeout error with my express API. I have a droplet using docker-compose to spin up all the resources. When doing research into the issue people say usually you run out of ram but my me...
      1 answer2 months agoBy SleepingAquamarineClamAPINginxNode.jsPostgreSQL
    • Tutorial

      How To Use Terraform with DigitalOcean

      Terraform is a tool for building and managing infrastructure in an organized way. In this tutorial, you’ll install and use Terraform to create an infrastructure on DigitalOcean that consists of two Nginx servers that ...
      2 months agoBy Mitchell Anicas, Brian HoganTerraformSystem ToolsAPINginxLoad BalancingDigitalOcean Managed Load BalancersDNSConfiguration Management
    • Question

      SSL on All Sub-Domain - api.yoloridelondon.com

      hello there, i need to install ssl on all sub-domain, how do i do this ?
      1 answer2 months agoBy plashetcarsAPI
    • Question

      Falco drivers on kubernetes clusters

      How do you install falco drivers in Digital Ocean kubernetes cluster?
      No answers yet2 months agoBy Ajinkya Anant JawalkarAPI
    • Question

      how to copy files between spaces from account A as source To account B as destination

      i want to copy files between Space A into digital Acoount A to space B for digital account B
      1 answer2 months agoBy Abuzer ElhassanAPI
    • Question

      I have been trying to contact support for more than 12 hours but I do not receive any response.

      I have been trying to contact support for more than 12 hours but I do not receive any response.My servers are down due to late payment, I want to make the payment but I can’t log in because the verification code doesn...
      5 answers3 months agoBy Nemesio LeivaAPIApplicationsBackupsBillingBuilding on DigitalOceanCompany CultureConceptualCustomer SuccessDebian 10DigitalOcean AccountsDigitalOcean Container Registry (DOCR)
    • Question

      Intermediary convention crippled indiscriminately time, bringing my site disconnected

      I initiated the intermediary convention in the loadbalancer setting menu, yet it arbitrarily turned impaired, this has happened multiple times today, for the climate I use kubernetes and add a configmap
      1 answer3 months agoBy GiantNavyEelAPI
    • Question

      App platform strapi deployment by github

      I’m using strapi project for api and i deployed it on app platform with manged postgresql database The problem is: when i try to deploy my project again or i Dd any edit repository on git hub the platform use auto dep...
      1 answer4 months agoBy mohamedsonat@gmail.comAPIDeploymentStrapi